Add option to pass names to HCC dispatch API (for debug)

[ROCm/hip commit: 176ff824d1]
这个提交包含在:
Ben Sander 于 2017-06-23 18:05:30 -05:00 提交
1 父节点 ed1f242c60
当前提交 0f2fd1372f
1 个文件已更改
+7 -1
+7 -1
查看文件
@@ -451,7 +451,13 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f,
hc::completion_future cf;
lp.av->dispatch_hsa_kernel(&aql, config[1] /* kernarg*/, kernArgSize,
(startEvent || stopEvent) ? &cf : nullptr);
(startEvent || stopEvent) ? &cf : nullptr
#define USE_NAMED_KERNEL 0
#if USE_NAMED_KERNEL
, f->_name.c_str()
#endif
);
if (startEvent) {