Skip to content

Commit da78a33

Browse files
committed
Revert "GPU: Workaround for reoccuring HIP problem parsing host-code during device compilation"
This reverts commit 73c10d5.
1 parent 7e81cbf commit da78a33

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

GPU/Common/GPUCommonLogger.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
#include "GPUCommonDef.h"
1919

20-
#if defined(GPUCA_GPUCODE_DEVICE) || defined(__HIPCC__)
20+
#if defined(GPUCA_GPUCODE_DEVICE)
2121
namespace o2::gpu::detail
2222
{
2323
struct DummyLogger {
2424
template <typename... Args>
25-
GPUhd() DummyLogger& operator<<(Args... args)
25+
GPUd() DummyLogger& operator<<(Args... args)
2626
{
2727
return *this;
2828
}
@@ -35,7 +35,7 @@ struct DummyLogger {
3535
#define LOGF(...)
3636
#define LOGP(...)
3737

38-
#elif defined(GPUCA_GPUCODE_DEVICE) || defined(__HIPCC__)
38+
#elif defined(GPUCA_GPUCODE_DEVICE)
3939
#define LOG(...) o2::gpu::detail::DummyLogger()
4040
//#define LOG(...) static_assert(false, "LOG(...) << ... unsupported in GPU code");
4141
#define LOGF(type, string, ...) \

0 commit comments

Comments
 (0)