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

kernels.double.greaterthanorequal_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__ double op(double d1,double d2,double *params) {
    if(d2 >= d1) {return 1;}
    return 0;

}

extern "C"
__global__ void greaterthanorequal_scalar_double(int n, int idx,double dx,double *dy,int incx,double *params,double *result) {
       transform(n,idx,dx,dy,incx,params,result);
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy