From 0b0055161a1ea150b61c92ba8649ea355d53ae66 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 23 Jan 2020 13:55:16 -0500
Subject: [PATCH] P4 to Git Change 2062152 by gandryey@gera-win10 on 2020/01/23
13:48:08
SWDEV-197836 - Drop the use of llvm header files in opencl runtime
- COv2 doesn't report HostCall argument properly. Make a workaround for it.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#34 edit
[ROCm/clr commit: 6ace9abcd6943adb4551f0495ad7999a7de7b302]
---
projects/clr/rocclr/runtime/device/devkernel.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/projects/clr/rocclr/runtime/device/devkernel.cpp b/projects/clr/rocclr/runtime/device/devkernel.cpp
index 3cb05bfc8f..2737b4a939 100644
--- a/projects/clr/rocclr/runtime/device/devkernel.cpp
+++ b/projects/clr/rocclr/runtime/device/devkernel.cpp
@@ -110,6 +110,7 @@ static amd_comgr_status_t populateArgs(const amd_comgr_metadata_node_t key,
{
auto itValueKind = ArgValueKind.find(buf);
if (itValueKind == ArgValueKind.end()) {
+ lcArg->info_.hidden_ = true;
return AMD_COMGR_STATUS_ERROR;
}
lcArg->info_.oclObject_ = itValueKind->second;