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

[ROCm/clr commit: c7382f7da6]
Tá an tiomantas seo le fáil i:
Ben Sander tiomanta 2017-06-23 18:05:30 -05:00
1 tuismitheoir f1bed37a34
tiomantas ccc085e4db
1 comhad athraithe
+7 -1
+7 -1
Féach ar an gComhad
@@ -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) {