From 1ff23db17bda28cc51a25ad8f4d78ce6ddb4ffdc Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Thu, 27 Jul 2017 23:00:58 -0500 Subject: [PATCH] Add workweek check to make sure we have a new enough compiler [ROCm/hip commit: 4980a6d3ab39f2449d69974438efd15d01af09f5] --- projects/hip/src/hip_module.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/src/hip_module.cpp b/projects/hip/src/hip_module.cpp index 5dad689c69..10fcd15fdc 100644 --- a/projects/hip/src/hip_module.cpp +++ b/projects/hip/src/hip_module.cpp @@ -452,7 +452,9 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f, lp.av->dispatch_hsa_kernel(&aql, config[1] /* kernarg*/, kernArgSize, (startEvent || stopEvent) ? &cf : nullptr +#if (__hcc_workweek__ >= 17300) , f->_name.c_str() +#endif );