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

[ROCm/clr commit: 2781293e89]
Este commit está contenido en:
Ben Sander
2017-07-27 23:00:58 -05:00
padre c8b72cb926
commit 004080bff8
+2
Ver fichero
@@ -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
);