Merge pull request #127 from bensander/pass_module_kname

Pass kernel name to HCC dispatch_hsa_kernel, for debug/profile

[ROCm/hip commit: 375ec84bc6]
This commit is contained in:
Maneesh Gupta
2017-07-28 10:19:15 +05:30
committed by GitHub
+1 -2
View File
@@ -452,8 +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
#if (__hcc_workweek__ >= 17300)
, f->_name.c_str()
#endif
);