summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2024-04-30 21:03:21 -0400
committerGitHub <noreply@github.com>2024-04-30 18:03:21 -0700
commit2abd5bd5770b8052b8e4ceed86ff4ced883d2af7 (patch)
tree88013a7a8df90a063286986aa0551c82e4fff19f /source/slang/slang.cpp
parent52b91231cdadc048f93b224f5035759cf1a96eaa (diff)
Avoid classifying methods with `[numthreads]` as entry points for CUDA-related targets (#4063)
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 4a446a351..654295211 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -5335,7 +5335,7 @@ void Linkage::prepareDeserializedModule(SerialContainerData::Module& moduleEntry
module->setPathInfo(filePathInfo);
module->setDigest(moduleEntry.digest);
module->_collectShaderParams();
- module->_discoverEntryPoints(sink);
+ module->_discoverEntryPoints(sink, targets);
// Hook up fileDecl's scope to module's scope.
auto moduleDecl = module->getModuleDecl();