Commit 31be4d59 authored by incardon's avatar incardon

Eliminating warning about contect uninitialized, contect is now initialized...

Eliminating warning about contect uninitialized, contect is now initialized even when CUDA is not active
parent 0b0d5b3a
...@@ -290,11 +290,7 @@ public: ...@@ -290,11 +290,7 @@ public:
bar_req = MPI_Request(); bar_req = MPI_Request();
bar_stat = MPI_Status(); bar_stat = MPI_Status();
#if defined(CUDA_GPU) && defined(__NVCC__)
context = new mgpu::ofp_context_t(false,shmrank); context = new mgpu::ofp_context_t(false,shmrank);
#endif
} }
#ifdef SE_CLASS1 #ifdef SE_CLASS1
......
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