From 59903ef7e4ddd8885f71567bf0fc85527a88fffc Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 3 May 2024 18:02:31 -0700 Subject: Add host shared library target. (#4098) * Add host shared library target. * Attempt fix. * Fix warnings. * try fix. * Fix test. * Fix. --- source/core/slang-type-text-util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/core') diff --git a/source/core/slang-type-text-util.cpp b/source/core/slang-type-text-util.cpp index f2f408b28..d18f10a5e 100644 --- a/source/core/slang-type-text-util.cpp +++ b/source/core/slang-type-text-util.cpp @@ -54,7 +54,8 @@ static const TypeTextUtil::CompileTargetInfo s_compileTargetInfos[] = { SLANG_CPP_PYTORCH_BINDING, "cpp,c++,cxx", "torch,torch-binding,torch-cpp,torch-cpp-binding", "C++ for pytorch binding" }, { SLANG_HOST_CPP_SOURCE, "cpp,c++,cxx", "host-cpp,host-c++,host-cxx", "C++ source for host execution"}, { SLANG_HOST_EXECUTABLE,"exe", "exe,executable", "Executable binary" }, - { SLANG_SHADER_SHARED_LIBRARY, "dll,so", "sharedlib,sharedlibrary,dll", "Shared library/Dll" }, + { SLANG_SHADER_SHARED_LIBRARY, "shader-dll,shader-so", "shader-sharedlib,sahder-sharedlibrary,shader-dll", "Shared library/Dll for shader kernel" }, + { SLANG_HOST_SHARED_LIBRARY, "dll,so", "sharedlib,sharedlibrary,dll", "Shared library/Dll for host execution" }, { SLANG_CUDA_SOURCE, "cu", "cuda,cu", "CUDA source code" }, { SLANG_PTX, "ptx", "ptx", "PTX assembly" }, { SLANG_CUDA_OBJECT_CODE, "obj,o", "cuobj,cubin", "CUDA binary" }, -- cgit v1.2.3