mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
There are two changes in total. The first one to fix a small issue of current working directory so that second change can be applied. And the second one is for resolving #852 Removing hard-coded SPIR-V binaries in clUnloadPlatformCompiler tests. Fixes #852 --------- Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com> Signed-off-by: Xing Huang <xing.huang@arm.com>
This commit is contained in:
24
test_conformance/compiler/spirv_asm/write_kernel.spvasm64
Normal file
24
test_conformance/compiler/spirv_asm/write_kernel.spvasm64
Normal file
@@ -0,0 +1,24 @@
|
||||
; SPIR-V
|
||||
; Version: 1.0
|
||||
; Generator: Khronos LLVM/SPIR-V Translator; 14
|
||||
; Bound: 11
|
||||
; Schema: 0
|
||||
OpCapability Addresses
|
||||
OpCapability Kernel
|
||||
; %1 = OpExtInstImport "OpenCL.std"
|
||||
OpMemoryModel Physical64 OpenCL
|
||||
OpEntryPoint Kernel %6 "write_kernel"
|
||||
; %10 = OpString "kernel_arg_type.write_kernel.uint*,"
|
||||
; OpSource OpenCL_C 200000
|
||||
; OpDecorate %7 FuncParamAttr NoCapture
|
||||
%uint = OpTypeInt 32 0
|
||||
%uint_42 = OpConstant %uint 42
|
||||
%void = OpTypeVoid
|
||||
%_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint
|
||||
%5 = OpTypeFunction %void %_ptr_CrossWorkgroup_uint
|
||||
%6 = OpFunction %void None %5
|
||||
%7 = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%8 = OpLabel
|
||||
OpStore %7 %uint_42 Aligned 4
|
||||
OpReturn
|
||||
OpFunctionEnd
|
||||
Reference in New Issue
Block a user