diff --git a/Grid/simd/Grid_gpu_vec.h b/Grid/simd/Grid_gpu_vec.h index 471fbccc..4584fb36 100644 --- a/Grid/simd/Grid_gpu_vec.h +++ b/Grid/simd/Grid_gpu_vec.h @@ -403,6 +403,10 @@ namespace Optimization { accelerator_inline GpuVectorRD operator()(GpuVectorRD a, GpuVectorRD b){ return a/b; } + accelerator_inline GpuVectorI operator()(GpuVectorI a, GpuVectorI b){ + return a/b; + } + // Danger -- element wise divide fro complex, not complex div. // See Grid_vector_types.h lines around 735, applied after "toReal" accelerator_inline GpuVectorCF operator()(GpuVectorCF a, GpuVectorCF b){