From 704d424a7ff3dca5b65142c310955da48144383b Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 4 Sep 2014 04:10:00 -0400
Subject: [PATCH] P4 to Git Change 1073180 by nhaustov@nhaustov_hsa on
2014/09/04 03:54:52
ECR #333756 - Enable HSAIL 0.95+ images in Orca Runtime, HLC and Finalizer.
Testing: pre-checkin, image tests on Granite and Obsidian fail as expected.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/HSAIL/hsail-fin/HSAILCodeGen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/CodeGen/CodeGen.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILImages.td#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILPropImageOps.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#213 edit
[ROCm/clr commit: 43cb9c9fc183c8c77153dabe28b29172d539910c]
---
projects/clr/rocclr/runtime/utils/flags.hpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/projects/clr/rocclr/runtime/utils/flags.hpp b/projects/clr/rocclr/runtime/utils/flags.hpp
index c8abe7cdae..669cb79705 100644
--- a/projects/clr/rocclr/runtime/utils/flags.hpp
+++ b/projects/clr/rocclr/runtime/utils/flags.hpp
@@ -148,7 +148,7 @@ release(bool, GPU_ASSUME_ALIASES, false, \
"Assume memory aliases in the compilation process") \
release(uint, GPU_PRINT_CHILD_KERNEL, 0, \
"Prints the specified number of the child kernels") \
-release(bool, GPU_DIRECT_SRD, true, \
+release(bool, GPU_DIRECT_SRD, false, \
"Use indirect SRD access in HSAIL") \
release(bool, GPU_USE_DEVICE_QUEUE, false, \
"Use a dedicated device queue for the actual submissions") \
@@ -168,7 +168,8 @@ release(bool, HSA_ENABLE_ATOMICS_32B, false, \
"1 = Enable SVM atomics in 32 bits (HSA backend-only). Any other value keeps then disabled.") \
release(bool, GPU_IFH_MODE, false, \
"1 = Enable GPU IFH (infinitely fast hardware) mode. Any other value keeps setting disabled.") \
-
+release(bool, HSAIL_IMAGE_HANDLE_ENABLE, false, \
+ "Pass image/sampler SRD as pointer instead of blob") \
namespace amd {