From 9ce3ad0bab7ce1adfcdbbe07191be0635ece5b44 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 30 Nov 2017 16:04:19 -0500
Subject: [PATCH] P4 to Git Change 1488953 by wchau@wchau_OCL_boltzmann on
2017/11/30 15:44:58
SWDEV-119491 - Add support for cl_amd_assembly_program extension - Enabling Extension
This is the last part of the following four requirements:
(1) OpenCL API / Runtime (CL1487653), (2) ROCm Runtime - compiler invocation (CL1487815), (3) ROCm Driver (CL1488115), (4) Enabling Extension
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#29 edit
[ROCm/clr commit: f6b43efd002221cdb2cf3ffb941f986121084fb8]
---
projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp b/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp
index dbf002cc61..dafa597b2f 100644
--- a/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp
+++ b/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp
@@ -116,6 +116,7 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
supportDepthsRGB_ = true;
#if defined(WITH_LIGHTNING_COMPILER)
+ enableExtension(ClAmdAssemblyProgram);
switch (gfxipVersion) {
case 900:
singleFpDenorm_ = true;