P4 to Git Change 1191906 by yaxunl@yaxunl_stg_win50 on 2015/09/17 20:52:47

ECR #354633 - SPIR-V: Always create HSAIL device program for SPIR-V since AMDIL path does not support it due to LLVM version.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#276 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#254 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#524 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#149 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#69 edit
This commit is contained in:
foreman
2015-09-17 20:59:45 -04:00
parent 8af44388e9
commit ad1eb8f858
8 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -1115,7 +1115,7 @@ Device::partitionByAffinityDomainCacheLevel(
}
device::Program*
Device::createProgram(int oclVer)
Device::createProgram(bool hsail)
{
Program* cpuProgram = new Program(*this);
if (cpuProgram == NULL) {
+1 -1
View File
@@ -84,7 +84,7 @@ public:
}
//! Compile the given source code.
virtual device::Program* createProgram(int oclVer = 120);
virtual device::Program* createProgram(bool hsail = false);
//! Just returns NULL as CPU devices use the host memory
virtual device::Memory* createMemory(amd::Memory& owner) const