kernels.complex.double.rsub_strided.cu Maven / Gradle / Ivy
extern "C"
#include
__global__ void rsub_strided_double(int n,int xOffset,int yOffset, double *dx, double *dy,int incx,int incy,double *result) {
for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < n; i += blockDim.x * gridDim.x) {
if(i >= xOffset && i >= yOffset && i % incx == 0 && i % incy == 0)
result[i] = dx[i] / dy[i];
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy