Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile

This commit is contained in:
Ben Sander
2017-07-27 22:00:15 -05:00
parent bd563bf761
commit a282351763
-3
View File
@@ -452,10 +452,7 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f,
lp.av->dispatch_hsa_kernel(&aql, config[1] /* kernarg*/, kernArgSize,
(startEvent || stopEvent) ? &cf : nullptr
#define USE_NAMED_KERNEL 0
#if USE_NAMED_KERNEL
, f->_name.c_str()
#endif
);