mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Integer divide for blocking
This commit is contained in:
parent
554542b773
commit
55cdb17691
@ -403,6 +403,10 @@ namespace Optimization {
|
|||||||
accelerator_inline GpuVectorRD operator()(GpuVectorRD a, GpuVectorRD b){
|
accelerator_inline GpuVectorRD operator()(GpuVectorRD a, GpuVectorRD b){
|
||||||
return a/b;
|
return a/b;
|
||||||
}
|
}
|
||||||
|
accelerator_inline GpuVectorI operator()(GpuVectorI a, GpuVectorI b){
|
||||||
|
return a/b;
|
||||||
|
}
|
||||||
|
|
||||||
// Danger -- element wise divide fro complex, not complex div.
|
// Danger -- element wise divide fro complex, not complex div.
|
||||||
// See Grid_vector_types.h lines around 735, applied after "toReal"
|
// See Grid_vector_types.h lines around 735, applied after "toReal"
|
||||||
accelerator_inline GpuVectorCF operator()(GpuVectorCF a, GpuVectorCF b){
|
accelerator_inline GpuVectorCF operator()(GpuVectorCF a, GpuVectorCF b){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user