Commit cf2dbc0e authored by incardon's avatar incardon
Browse files

Fixing SE_CLASS1 with CUDA_ON_CPU

parent 7c41af8f
Pipeline #2830 passed with stages
in 14 seconds
......@@ -188,7 +188,7 @@ template<typename ... Args>pos_pc error_arg(void * ptr, int prp, Args ... args)
std::cout << " thread: " << "(" << dev_mem[6+i] << "," << dev_mem[7+i] << "," << dev_mem[8+i] << ")*(" << dev_mem[9+i] << "," << dev_mem[10+i] << "," << dev_mem[11+i] << ")+(" << dev_mem[12+i] << "," << dev_mem[13+i] << "," << dev_mem[14+i] << ")" << std::endl;\
std::cout << "Internal error report: " << ea.pc.match_str << std::endl;\
int dev_mem_null[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};\
memcpy(global_cuda_error_array,dev_mem_null,sizeof(dev_mem_null),0,cudaMemcpyHostToDevice);\
memcpy(global_cuda_error_array,dev_mem_null,sizeof(dev_mem_null));\
ACTION_ON_ERROR(CUDA_LAUNCH_ERROR_OBJECT);\
}\
......
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