We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7146426 commit 8536ca1Copy full SHA for 8536ca1
sycl/include/CL/sycl/handler.hpp
@@ -411,7 +411,7 @@ class __SYCL_EXPORT handler {
411
using KI = sycl::detail::KernelInfo<KernelName>;
412
// Empty name indicates that the compilation happens without integration
413
// header, so don't perform things that require it.
414
- if (KI::getName() != "") {
+ if (KI::getName() != nullptr && KI::getName()[0] != '\0') {
415
MArgs.clear();
416
extractArgsAndReqsFromLambda(MHostKernel->getPtr(), KI::getNumParams(),
417
&KI::getParamDesc(0));
0 commit comments