Code quality: Added consistency between int_t and size_t. Fixed warnings for Win64

This commit is contained in:
U-AMR\ptillet
2015-08-13 15:44:58 -07:00
parent f7cb4ac960
commit b34c611802
17 changed files with 49 additions and 49 deletions

View File

@@ -77,14 +77,14 @@ void Kernel::setSizeArg(unsigned int index, size_t N)
#ifdef ISAAC_WITH_CUDA
case CUDA:
{
int NN = N;
int NN = static_cast<cl_int>(N);
setArg(index, sizeof(int), &NN);
break;
}
#endif
case OPENCL:
{
cl_int NN = N;
cl_int NN = static_cast<cl_int>(N);
setArg(index, 4, &NN);
break;
}