P4 to Git Change 1193083 by yaxunl@yaxunl_stg_win50 on 2015/09/22 13:13:43
SWDEV-67990 - SPIR-V: Fix translation of OpImageQuerySize[Lod]. Implement it in builtin library as __spirv_ImageQuerySize[Lod] instead of by code.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/library.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPRVInternal.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPRVReader.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPRVRegularizeOCL20.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPRVToOCL20.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPRVUtil.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/library/Makefile#26 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#45 edit
... //depot/stg/opencl/drivers/opencl/library/spirv/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/library/spirv/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/library/spirv/build/Makefile.spirv#1 add
... //depot/stg/opencl/drivers/opencl/library/spirv/inc/spirv.h#1 add
... //depot/stg/opencl/drivers/opencl/library/spirv/src/ImageQuerySize.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/opencl_conformance_tests_spirv.csv#14 edit
... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/spirv/images_kernel_read_write.zip#1 add
... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/spirv/images_samplerlessRead.zip#1 add
... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/spirv/kernel_image_methods.zip#1 add
[ROCm/clr commit: 09571ef71b]
This commit is contained in:
@@ -55,6 +55,7 @@ namespace amd {
|
||||
#include "builtins-hsail-amd-ci.inc"
|
||||
#include "builtins-gcn.inc"
|
||||
#include "builtins-ocml.inc"
|
||||
#include "builtins-spirv.inc"
|
||||
#endif
|
||||
|
||||
#include <cstdlib>
|
||||
@@ -279,7 +280,9 @@ getLibDescs (
|
||||
LibDesc[2].size = builtins_hsail_size;
|
||||
LibDesc[3].start = reinterpret_cast<const char*>(builtins_ocml);
|
||||
LibDesc[3].size = builtins_ocml_size;
|
||||
LibDescSize = 4;
|
||||
LibDesc[4].start = reinterpret_cast<const char*>(builtins_spirv);
|
||||
LibDesc[4].size = builtins_spirv_size;
|
||||
LibDescSize = 5;
|
||||
break;
|
||||
#endif // WITH_TARGET_HSAIL
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user