parameters: (gpu)
return_statement: return {
          "includes": includes,
          "cuda_devrt_lib_path": hoomd.version.cuda_devrt_library,
          "max_arch": compute_major * 10 + compute_minor
      }
docstring: Helper function to set CUDA libraries for GPU execution.
docstring_summary: Helper function to set CUDA libraries for GPU execution.
docstring_tokens: Helper function to set CUDA libraries for GPU execution .
function: def get_gpu_compilation_settings(gpu):
      """Helper function to set CUDA libraries for GPU execution."""
      hoomd_include_path = _get_hoomd_include_path()
  
      includes = [
          "-I" + str(hoomd_include_path),
          "-I" + str(hoomd_include_path / 'hoomd' / 'extern' / 'HIP' / 'include'),
          "-I" + str(hoomd.version.cuda_include_path),
      ]
  
      # compile JIT code for the current device
      compute_major, compute_minor = gpu.compute_capability
      return {
          "includes": includes,
          "cuda_devrt_lib_path": hoomd.version.cuda_devrt_library,
          "max_arch": compute_major * 10 + compute_minor
      }
function_tokens: def get_gpu_compilation_settings ( gpu ) : hoomd_include_path = _get_hoomd_include_path ( ) includes = [ "-I" + str ( hoomd_include_path ) , "-I" + str ( hoomd_include_path / 'hoomd' / 'extern' / 'HIP' / 'include' ) , "-I" + str ( hoomd . version . cuda_include_path ) , ] # compile JIT code for the current device compute_major , compute_minor = gpu . compute_capability return { "includes" : includes , "cuda_devrt_lib_path" : hoomd . version . cuda_devrt_library , "max_arch" : compute_major * 10 + compute_minor }