Skip to content

Commit

Permalink
Add include for fp16 on HIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed Aug 12, 2024
1 parent a0432cc commit 22192ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RecoTracker/LSTCore/interface/alpaka/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

#include "RecoTracker/LSTCore/interface/Constants.h"

#ifdef ALPAKA_ACC_GPU_CUDA_ENABLED
#if defined ALPAKA_ACC_GPU_CUDA_ENABLED
#include <cuda_fp16.h>
#elif defined ALPAKA_ACC_GPU_HIP_ENABLED
#include <hip/hip_fp16.h>
#endif

namespace lst {
Expand Down

0 comments on commit 22192ec

Please sign in to comment.