aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/global_array.spvtxt
diff options
context:
space:
mode:
Diffstat (limited to 'ptx/src/test/spirv_run/global_array.spvtxt')
-rw-r--r--ptx/src/test/spirv_run/global_array.spvtxt53
1 files changed, 0 insertions, 53 deletions
diff --git a/ptx/src/test/spirv_run/global_array.spvtxt b/ptx/src/test/spirv_run/global_array.spvtxt
deleted file mode 100644
index 4eccb2f..0000000
--- a/ptx/src/test/spirv_run/global_array.spvtxt
+++ /dev/null
@@ -1,53 +0,0 @@
- OpCapability GenericPointer
- OpCapability Linkage
- OpCapability Addresses
- OpCapability Kernel
- OpCapability Int8
- OpCapability Int16
- OpCapability Int64
- OpCapability Float16
- OpCapability Float64
- %21 = OpExtInstImport "OpenCL.std"
- OpMemoryModel Physical64 OpenCL
- OpEntryPoint Kernel %2 "global_array" %1
- %void = OpTypeVoid
- %uint = OpTypeInt 32 0
- %uint_4 = OpConstant %uint 4
-%_arr_uint_uint_4 = OpTypeArray %uint %uint_4
- %uint_1 = OpConstant %uint 1
- %uint_0 = OpConstant %uint 0
- %28 = OpConstantComposite %_arr_uint_uint_4 %uint_1 %uint_0 %uint_0 %uint_0
- %uint_4_0 = OpConstant %uint 4
-%_ptr_CrossWorkgroup__arr_uint_uint_4 = OpTypePointer CrossWorkgroup %_arr_uint_uint_4
- %1 = OpVariable %_ptr_CrossWorkgroup__arr_uint_uint_4 CrossWorkgroup %28
- %ulong = OpTypeInt 64 0
- %32 = OpTypeFunction %void %ulong %ulong
-%_ptr_Function_ulong = OpTypePointer Function %ulong
-%_ptr_Function_uint = OpTypePointer Function %uint
-%_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint
- %2 = OpFunction %void None %32
- %8 = OpFunctionParameter %ulong
- %9 = OpFunctionParameter %ulong
- %19 = OpLabel
- %3 = OpVariable %_ptr_Function_ulong Function
- %4 = OpVariable %_ptr_Function_ulong Function
- %5 = OpVariable %_ptr_Function_ulong Function
- %6 = OpVariable %_ptr_Function_ulong Function
- %7 = OpVariable %_ptr_Function_uint Function
- OpStore %3 %8
- OpStore %4 %9
- %16 = OpConvertPtrToU %ulong %1
- %10 = OpCopyObject %ulong %16
- OpStore %5 %10
- %11 = OpLoad %ulong %4 Aligned 8
- OpStore %6 %11
- %13 = OpLoad %ulong %5
- %17 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %13
- %12 = OpLoad %uint %17 Aligned 4
- OpStore %7 %12
- %14 = OpLoad %ulong %6
- %15 = OpLoad %uint %7
- %18 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %14
- OpStore %18 %15 Aligned 4
- OpReturn
- OpFunctionEnd