Skip to content
Snippets Groups Projects
Commit 2c135d75 authored by noraabiakar's avatar noraabiakar Committed by Sam Yates
Browse files

Create gpu_context and manage it as part of execution_context (#566)

* Add gpu_context as part of execution context containing information about GPU availability, managed_memory synchronization, and atomic double availability.
* Choose between ON and OFF for ARB_GPU in CMake. If ON compile for K20, K80, and P100

Note that we still need compile time information about the GPU in cuda_atomic.hpp for atomicAdd(double*, double*). This is because the function is only defined when the program is compiled  for sm_60 or more.
parent 30374945
No related branches found
No related tags found
No related merge requests found
Showing
with 136 additions and 95 deletions
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