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