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

kernels.double.lt_strided.cu Maven / Gradle / Ivy

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

__device__ double op(double d1,double d2,double *params) {
   if(d1 < d2) return 1;
    else return 0;
 }
__device__ double op(double d1,double *params) {
   return d1;
}

extern "C"
__global__ void lt_strided_double(int n,int xOffset,int yOffset, double *dx, double *dy,int incx,int incy,double *params,double *result) {
    transform(n,xOffset,yOffset,dx,dy,incx,incy,params,result);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy