[Lldb-commits] [lldb] Enabling Intel GPU Integration. (PR #65539)

Mehdi Amini via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 6 16:58:07 PDT 2023


================
@@ -71,7 +71,8 @@ void GPUToSPIRVPass::runOnOperation() {
       std::unique_ptr<ConversionTarget> target =
           spirv::getMemorySpaceToStorageClassTarget(*context);
       spirv::MemorySpaceToStorageClassMap memorySpaceMap =
-          spirv::mapMemorySpaceToVulkanStorageClass;
+          this->useOpenCL ? spirv::mapMemorySpaceToOpenCLStorageClass :
+              spirv::mapMemorySpaceToVulkanStorageClass;
----------------
joker-eph wrote:

Can you point out which unit-test is covering this? Can you send this in a separate PR?

https://github.com/llvm/llvm-project/pull/65539


More information about the lldb-commits mailing list