Skip to content

Commit

Permalink
Replace cuda::device operations with native CUDA calls (#408)
Browse files Browse the repository at this point in the history
Replaces the usage of cuda::device::count(), cuda::device::get(), cuda::device::set() and cuda::device::current::get() with native CUDA calls.
  • Loading branch information
waredjeb authored and fwyzard committed Oct 7, 2020
1 parent 951623c commit ed6f206
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions DataFormats/Math/test/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@

<bin file="cudaAtan2Test.cu" name="DFM_Atan2">
<use name="cuda"/>
<use name="cuda-api-wrappers"/>
<use name="vdt_headers"/>
<use name="HeterogeneousCore/CUDAUtilities"/>
<flags CUDA_FLAGS="--expt-relaxed-constexpr"/>
Expand All @@ -107,7 +106,6 @@

<bin file="cudaMathTest.cu" name="DFM_Math">
<use name="cuda"/>
<use name="cuda-api-wrappers"/>
<use name="vdt_headers"/>
<use name="HeterogeneousCore/CUDAUtilities"/>
<flags CUDA_FLAGS="--expt-relaxed-constexpr"/>
Expand All @@ -116,7 +114,6 @@

<bin file="cudaMathTest.cu" name="DFM_MathRepr">
<use name="cuda"/>
<use name="cuda-api-wrappers"/>
<use name="vdt_headers"/>
<use name="HeterogeneousCore/CUDAUtilities"/>
<flags CUDA_FLAGS="--expt-relaxed-constexpr -fmad=false -ftz=false -prec-div=true -prec-sqrt=true"/>
Expand All @@ -125,7 +122,6 @@

<bin file="CholeskyInvert_t.cu" name="CholeskyInvertOnGPU_t">
<use name="cuda"/>
<use name="cuda-api-wrappers"/>
<use name="HeterogeneousCore/CUDAUtilities"/>
</bin>

Expand Down

0 comments on commit ed6f206

Please sign in to comment.