File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,13 @@ static const unsigned SPIRDefIsPrivMap[] = {
5858// Used by both the SPIR and SPIR-V targets.
5959static const unsigned SPIRDefIsGenMap[] = {
6060 4 , // Default
61- // Some OpenCL address space values for this map are dummy and they can't be
62- // used
6361 1 , // opencl_global
64- 0 , // opencl_local
65- 0 , // opencl_constant
62+ 3 , // opencl_local
63+ 2 , // opencl_constant
6664 0 , // opencl_private
67- 0 , // opencl_generic
68- 0 , // opencl_global_device
69- 0 , // opencl_global_host
65+ 4 , // opencl_generic
66+ 5 , // opencl_global_device
67+ 6 , // opencl_global_host
7068 // cuda_* address space mapping is intended for HIPSPV (HIP to SPIR-V
7169 // translation). This mapping is enabled when the language mode is HIP.
7270 1 , // cuda_device
You can’t perform that action at this time.
0 commit comments