summaryrefslogtreecommitdiffstats
path: root/source/compiler-core
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-12-02 09:29:38 -0500
committerGitHub <noreply@github.com>2022-12-02 09:29:38 -0500
commit92ae4949fe1af28ef31331fd4116c8111c057420 (patch)
treebe4ea011fb7bcd891223a94b3bbd235382afbe5f /source/compiler-core
parent30b5335fed9524101d980618b0749dcaf546c319 (diff)
Inline functions with string param/return for GPU targets (#2544)
* #include an absolute path didn't work - because paths were taken to always be relative. * WIP inlining of functions that take or return string related types on GPU targets. * Small fixes. * Added a test. * Add checking for any getStringHash insts are valid. * Support getStringHash on CUDA. * Tweak diagnostic.
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/slang-artifact-desc-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-artifact-desc-util.h b/source/compiler-core/slang-artifact-desc-util.h
index 6aa5c321e..1e8b853e6 100644
--- a/source/compiler-core/slang-artifact-desc-util.h
+++ b/source/compiler-core/slang-artifact-desc-util.h
@@ -44,7 +44,7 @@ struct ArtifactDescUtil
/// True if is a CPU binary
static bool isCpuBinary(const ArtifactDesc& desc);
- /// True if is a GPU usable (can be passed to a driver/API and be used
+ /// True if is a GPU usable (can be passed to a driver/API and be used)
static bool isGpuUsable(const ArtifactDesc& desc);
/// True if the desc holds textual information