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 b3f5600 commit 86192f5Copy full SHA for 86192f5
llvm/tools/sycl-post-link/sycl-post-link.cpp
@@ -271,6 +271,8 @@ static void collectKernelModuleMap(
271
// TODO It may make sense to group all kernels w/o the attribute into
272
// a separate module rather than issuing an error. Should probably be
273
// controlled by an option.
274
+ // Functions with spir_func calling convention are allowed to not have
275
+ // a sycl-module-id attribute.
276
error("no '" + Twine(ATTR_SYCL_MODULE_ID) + "' attribute in kernel '" +
277
F.getName() + "', per-module split not possible");
278
}
0 commit comments