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
rodzic 9cede50942
commit 3a4dfc0f85
-3
Wyświetl plik
@@ -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
);