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