All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kernels.complex.float.rdiv_strided.cu Maven / Gradle / Ivy

There is a newer version: 0.4-rc3.7
Show newest version
extern "C"
#include 

__global__ void rdiv_strided_float(int n,int xOffset,int yOffset, float *dx,float  *dy,int incx,int incy,float *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