kernels.double.max_scalar.cu Maven / Gradle / Ivy
#include "scalar.h"
__device__ double op(double d1,double d2,double *params) {
if(d1 < d2)
return d2;
return d1;
}
extern "C"
__global__ void max_scalar_double(int n, int idx,double dx,double *dy,int incy,double *params,double *result) {
transform(n,idx,dx,dy,incy,params,result);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy