Skip to content
Snippets Groups Projects
  • noraabiakar's avatar
    Create gpu_context and manage it as part of execution_context (#566) · 2c135d75
    noraabiakar authored and Sam Yates's avatar Sam Yates committed
    * 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.
    2c135d75