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

kernels.float.rsub_scalar.cu Maven / Gradle / Ivy

There is a newer version: 0.4-rc3.7
Show newest version
#include "scalar.h"
//scalar and current element
__device__ float op(float d1,float d2,float *params) {
   return d1 - d2;
}

extern "C"
__global__ void rsub_scalar_float(int n, int idx,float dx,float *dy,int incy,float *params,float *result) {
       transform(n,idx,dx,dy,incy,params,result);
 }






© 2015 - 2024 Weber Informatics LLC | Privacy Policy