Add workweek check to make sure we have a new enough compiler

This commit is contained in:
Ben Sander
2017-07-27 23:00:58 -05:00
parent 3a4dfc0f85
commit 4980a6d3ab
+2
Vedi File
@@ -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
);