Skip to content

Commit

Permalink
add preprocessor protection around a gpu_half test
Browse files Browse the repository at this point in the history
  • Loading branch information
benson31 committed May 15, 2019
1 parent 70b8a44 commit 2ac8edd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/blas_like/Gemm.cpp
Expand Up @@ -276,6 +276,7 @@ main(int argc, char* argv[])
#ifdef HYDROGEN_HAVE_CUDA
if (testGPU)
{
#ifdef HYDROGEN_GPU_USE_FP16
TestGemm<gpu_half_type,Device::GPU>
(orientA, orientB,
m, n, k,
Expand All @@ -285,6 +286,7 @@ main(int argc, char* argv[])
colAlignA, rowAlignA,
colAlignB, rowAlignB,
colAlignC, rowAlignC);
#endif // HYDROGEN_GPU_USE_FP16
TestGemm<float,Device::GPU>
(orientA, orientB,
m, n, k,
Expand Down

0 comments on commit 2ac8edd

Please sign in to comment.