|
|
@@ -61,16 +61,6 @@ __device__ __constant__ unsigned int c_y[SIZE_Y], c_g[SIZE_G];
|
|
|
|
|
|
NTL_CLIENT
|
|
|
|
|
|
-int cuda_init(int deviceid)
|
|
|
-{
|
|
|
- cudaError_t cudares = cudaSetDevice(deviceid);
|
|
|
- if (cudares != cudaSuccess) {
|
|
|
- return -1;
|
|
|
- }
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
#ifdef CHECK_RESULTS
|
|
|
static void dump(const char *prefix, const unsigned int *di, size_t words)
|
|
|
{
|