From 92ae4949fe1af28ef31331fd4116c8111c057420 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 2 Dec 2022 09:29:38 -0500 Subject: 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. --- source/compiler-core/slang-artifact-desc-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/compiler-core') 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 -- cgit v1.2.3