Commit b7208268 authored by incardon's avatar incardon
Browse files

Fixing CUDIFY

parent fb91c07e
Pipeline #4086 failed with stages
in 30 minutes and 5 seconds
...@@ -119,7 +119,7 @@ void copy_grid_to_grid(grid_dst_type & gdst, const grid_src_type & gsrc, ...@@ -119,7 +119,7 @@ void copy_grid_to_grid(grid_dst_type & gdst, const grid_src_type & gsrc,
template<typename dest_type, typename src_type, unsigned int ... prp> template<typename dest_type, typename src_type, unsigned int ... prp>
void copy_with_openmp_prp(const dest_type & dst, const src_type & src, ite_gpu<dest_type::dims> ite) void copy_with_openmp_prp(const dest_type & dst, const src_type & src, ite_gpu<dest_type::dims> ite)
{ {
#ifdef __NVCC__ #ifdef CUDIFY_USE_OPENMP
auto lamb = [&dst,&src,&ite] __device__ (dim3 & blockIdx, dim3 & threadIdx) auto lamb = [&dst,&src,&ite] __device__ (dim3 & blockIdx, dim3 & threadIdx)
{ {
grid_key_dx<dest_type::dims> i; grid_key_dx<dest_type::dims> i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment