|
1 | 1 |
|
2 | | -// This file is autogenerated from the template at templates/stype_map_helpers.hpp.mako |
| 2 | +// This file is autogenerated from the template at |
| 3 | +// templates/stype_map_helpers.hpp.mako |
3 | 4 |
|
4 | 5 | template <> |
5 | | -struct stype_map<ur_context_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_CONTEXT_PROPERTIES> {}; |
| 6 | +struct stype_map<ur_context_properties_t> |
| 7 | + : stype_map_impl<UR_STRUCTURE_TYPE_CONTEXT_PROPERTIES> {}; |
6 | 8 | template <> |
7 | | -struct stype_map<ur_image_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_IMAGE_DESC> {}; |
| 9 | +struct stype_map<ur_image_desc_t> |
| 10 | + : stype_map_impl<UR_STRUCTURE_TYPE_IMAGE_DESC> {}; |
8 | 11 | template <> |
9 | | -struct stype_map<ur_buffer_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_PROPERTIES> {}; |
| 12 | +struct stype_map<ur_buffer_properties_t> |
| 13 | + : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_PROPERTIES> {}; |
10 | 14 | template <> |
11 | | -struct stype_map<ur_buffer_region_t> : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_REGION> {}; |
| 15 | +struct stype_map<ur_buffer_region_t> |
| 16 | + : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_REGION> {}; |
12 | 17 | template <> |
13 | | -struct stype_map<ur_buffer_channel_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_CHANNEL_PROPERTIES> {}; |
| 18 | +struct stype_map<ur_buffer_channel_properties_t> |
| 19 | + : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_CHANNEL_PROPERTIES> {}; |
14 | 20 | template <> |
15 | | -struct stype_map<ur_buffer_alloc_location_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_ALLOC_LOCATION_PROPERTIES> {}; |
| 21 | +struct stype_map<ur_buffer_alloc_location_properties_t> |
| 22 | + : stype_map_impl<UR_STRUCTURE_TYPE_BUFFER_ALLOC_LOCATION_PROPERTIES> {}; |
16 | 23 | template <> |
17 | | -struct stype_map<ur_program_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_PROGRAM_PROPERTIES> {}; |
| 24 | +struct stype_map<ur_program_properties_t> |
| 25 | + : stype_map_impl<UR_STRUCTURE_TYPE_PROGRAM_PROPERTIES> {}; |
18 | 26 | template <> |
19 | 27 | struct stype_map<ur_usm_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_USM_DESC> {}; |
20 | 28 | template <> |
21 | | -struct stype_map<ur_usm_host_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_USM_HOST_DESC> {}; |
| 29 | +struct stype_map<ur_usm_host_desc_t> |
| 30 | + : stype_map_impl<UR_STRUCTURE_TYPE_USM_HOST_DESC> {}; |
22 | 31 | template <> |
23 | | -struct stype_map<ur_usm_device_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_USM_DEVICE_DESC> {}; |
| 32 | +struct stype_map<ur_usm_device_desc_t> |
| 33 | + : stype_map_impl<UR_STRUCTURE_TYPE_USM_DEVICE_DESC> {}; |
24 | 34 | template <> |
25 | | -struct stype_map<ur_usm_pool_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_USM_POOL_DESC> {}; |
| 35 | +struct stype_map<ur_usm_pool_desc_t> |
| 36 | + : stype_map_impl<UR_STRUCTURE_TYPE_USM_POOL_DESC> {}; |
26 | 37 | template <> |
27 | | -struct stype_map<ur_usm_pool_limits_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_USM_POOL_LIMITS_DESC> {}; |
| 38 | +struct stype_map<ur_usm_pool_limits_desc_t> |
| 39 | + : stype_map_impl<UR_STRUCTURE_TYPE_USM_POOL_LIMITS_DESC> {}; |
28 | 40 | template <> |
29 | | -struct stype_map<ur_device_binary_t> : stype_map_impl<UR_STRUCTURE_TYPE_DEVICE_BINARY> {}; |
| 41 | +struct stype_map<ur_device_binary_t> |
| 42 | + : stype_map_impl<UR_STRUCTURE_TYPE_DEVICE_BINARY> {}; |
30 | 43 | template <> |
31 | | -struct stype_map<ur_sampler_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_SAMPLER_DESC> {}; |
| 44 | +struct stype_map<ur_sampler_desc_t> |
| 45 | + : stype_map_impl<UR_STRUCTURE_TYPE_SAMPLER_DESC> {}; |
32 | 46 | template <> |
33 | | -struct stype_map<ur_queue_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_PROPERTIES> {}; |
| 47 | +struct stype_map<ur_queue_properties_t> |
| 48 | + : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_PROPERTIES> {}; |
34 | 49 | template <> |
35 | | -struct stype_map<ur_queue_index_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_INDEX_PROPERTIES> {}; |
| 50 | +struct stype_map<ur_queue_index_properties_t> |
| 51 | + : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_INDEX_PROPERTIES> {}; |
36 | 52 | template <> |
37 | | -struct stype_map<ur_context_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_CONTEXT_NATIVE_PROPERTIES> {}; |
| 53 | +struct stype_map<ur_context_native_properties_t> |
| 54 | + : stype_map_impl<UR_STRUCTURE_TYPE_CONTEXT_NATIVE_PROPERTIES> {}; |
38 | 55 | template <> |
39 | | -struct stype_map<ur_kernel_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_NATIVE_PROPERTIES> {}; |
| 56 | +struct stype_map<ur_kernel_native_properties_t> |
| 57 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_NATIVE_PROPERTIES> {}; |
40 | 58 | template <> |
41 | | -struct stype_map<ur_queue_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_NATIVE_PROPERTIES> {}; |
| 59 | +struct stype_map<ur_queue_native_properties_t> |
| 60 | + : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_NATIVE_PROPERTIES> {}; |
42 | 61 | template <> |
43 | | -struct stype_map<ur_mem_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_MEM_NATIVE_PROPERTIES> {}; |
| 62 | +struct stype_map<ur_mem_native_properties_t> |
| 63 | + : stype_map_impl<UR_STRUCTURE_TYPE_MEM_NATIVE_PROPERTIES> {}; |
44 | 64 | template <> |
45 | | -struct stype_map<ur_event_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_EVENT_NATIVE_PROPERTIES> {}; |
| 65 | +struct stype_map<ur_event_native_properties_t> |
| 66 | + : stype_map_impl<UR_STRUCTURE_TYPE_EVENT_NATIVE_PROPERTIES> {}; |
46 | 67 | template <> |
47 | | -struct stype_map<ur_platform_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_PLATFORM_NATIVE_PROPERTIES> {}; |
| 68 | +struct stype_map<ur_platform_native_properties_t> |
| 69 | + : stype_map_impl<UR_STRUCTURE_TYPE_PLATFORM_NATIVE_PROPERTIES> {}; |
48 | 70 | template <> |
49 | | -struct stype_map<ur_device_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_DEVICE_NATIVE_PROPERTIES> {}; |
| 71 | +struct stype_map<ur_device_native_properties_t> |
| 72 | + : stype_map_impl<UR_STRUCTURE_TYPE_DEVICE_NATIVE_PROPERTIES> {}; |
50 | 73 | template <> |
51 | | -struct stype_map<ur_program_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_PROGRAM_NATIVE_PROPERTIES> {}; |
| 74 | +struct stype_map<ur_program_native_properties_t> |
| 75 | + : stype_map_impl<UR_STRUCTURE_TYPE_PROGRAM_NATIVE_PROPERTIES> {}; |
52 | 76 | template <> |
53 | | -struct stype_map<ur_sampler_native_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_SAMPLER_NATIVE_PROPERTIES> {}; |
| 77 | +struct stype_map<ur_sampler_native_properties_t> |
| 78 | + : stype_map_impl<UR_STRUCTURE_TYPE_SAMPLER_NATIVE_PROPERTIES> {}; |
54 | 79 | template <> |
55 | | -struct stype_map<ur_queue_native_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_NATIVE_DESC> {}; |
| 80 | +struct stype_map<ur_queue_native_desc_t> |
| 81 | + : stype_map_impl<UR_STRUCTURE_TYPE_QUEUE_NATIVE_DESC> {}; |
56 | 82 | template <> |
57 | | -struct stype_map<ur_device_partition_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_DEVICE_PARTITION_PROPERTIES> {}; |
| 83 | +struct stype_map<ur_device_partition_properties_t> |
| 84 | + : stype_map_impl<UR_STRUCTURE_TYPE_DEVICE_PARTITION_PROPERTIES> {}; |
58 | 85 | template <> |
59 | | -struct stype_map<ur_kernel_arg_mem_obj_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES> {}; |
| 86 | +struct stype_map<ur_kernel_arg_mem_obj_properties_t> |
| 87 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES> {}; |
60 | 88 | template <> |
61 | | -struct stype_map<ur_physical_mem_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_PHYSICAL_MEM_PROPERTIES> {}; |
| 89 | +struct stype_map<ur_physical_mem_properties_t> |
| 90 | + : stype_map_impl<UR_STRUCTURE_TYPE_PHYSICAL_MEM_PROPERTIES> {}; |
62 | 91 | template <> |
63 | | -struct stype_map<ur_kernel_arg_pointer_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_POINTER_PROPERTIES> {}; |
| 92 | +struct stype_map<ur_kernel_arg_pointer_properties_t> |
| 93 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_POINTER_PROPERTIES> {}; |
64 | 94 | template <> |
65 | | -struct stype_map<ur_kernel_arg_sampler_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_SAMPLER_PROPERTIES> {}; |
| 95 | +struct stype_map<ur_kernel_arg_sampler_properties_t> |
| 96 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_SAMPLER_PROPERTIES> {}; |
66 | 97 | template <> |
67 | | -struct stype_map<ur_kernel_exec_info_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_EXEC_INFO_PROPERTIES> {}; |
| 98 | +struct stype_map<ur_kernel_exec_info_properties_t> |
| 99 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_EXEC_INFO_PROPERTIES> {}; |
68 | 100 | template <> |
69 | | -struct stype_map<ur_kernel_arg_value_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_VALUE_PROPERTIES> {}; |
| 101 | +struct stype_map<ur_kernel_arg_value_properties_t> |
| 102 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_VALUE_PROPERTIES> {}; |
70 | 103 | template <> |
71 | | -struct stype_map<ur_kernel_arg_local_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_LOCAL_PROPERTIES> {}; |
| 104 | +struct stype_map<ur_kernel_arg_local_properties_t> |
| 105 | + : stype_map_impl<UR_STRUCTURE_TYPE_KERNEL_ARG_LOCAL_PROPERTIES> {}; |
72 | 106 | template <> |
73 | | -struct stype_map<ur_usm_alloc_location_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_USM_ALLOC_LOCATION_DESC> {}; |
| 107 | +struct stype_map<ur_usm_alloc_location_desc_t> |
| 108 | + : stype_map_impl<UR_STRUCTURE_TYPE_USM_ALLOC_LOCATION_DESC> {}; |
74 | 109 | template <> |
75 | | -struct stype_map<ur_exp_command_buffer_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC> {}; |
| 110 | +struct stype_map<ur_exp_command_buffer_desc_t> |
| 111 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC> {}; |
76 | 112 | template <> |
77 | | -struct stype_map<ur_exp_command_buffer_update_kernel_launch_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_KERNEL_LAUNCH_DESC> {}; |
| 113 | +struct stype_map<ur_exp_command_buffer_update_kernel_launch_desc_t> |
| 114 | + : stype_map_impl< |
| 115 | + UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_KERNEL_LAUNCH_DESC> {}; |
78 | 116 | template <> |
79 | | -struct stype_map<ur_exp_command_buffer_update_memobj_arg_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_MEMOBJ_ARG_DESC> {}; |
| 117 | +struct stype_map<ur_exp_command_buffer_update_memobj_arg_desc_t> |
| 118 | + : stype_map_impl< |
| 119 | + UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_MEMOBJ_ARG_DESC> {}; |
80 | 120 | template <> |
81 | | -struct stype_map<ur_exp_command_buffer_update_pointer_arg_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_POINTER_ARG_DESC> {}; |
| 121 | +struct stype_map<ur_exp_command_buffer_update_pointer_arg_desc_t> |
| 122 | + : stype_map_impl< |
| 123 | + UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_POINTER_ARG_DESC> {}; |
82 | 124 | template <> |
83 | | -struct stype_map<ur_exp_command_buffer_update_value_arg_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_VALUE_ARG_DESC> {}; |
| 125 | +struct stype_map<ur_exp_command_buffer_update_value_arg_desc_t> |
| 126 | + : stype_map_impl< |
| 127 | + UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_VALUE_ARG_DESC> {}; |
84 | 128 | template <> |
85 | | -struct stype_map<ur_exp_sampler_mip_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES> {}; |
| 129 | +struct stype_map<ur_exp_sampler_mip_properties_t> |
| 130 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES> {}; |
86 | 131 | template <> |
87 | | -struct stype_map<ur_exp_external_mem_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_EXTERNAL_MEM_DESC> {}; |
| 132 | +struct stype_map<ur_exp_external_mem_desc_t> |
| 133 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_EXTERNAL_MEM_DESC> {}; |
88 | 134 | template <> |
89 | | -struct stype_map<ur_exp_external_semaphore_desc_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_EXTERNAL_SEMAPHORE_DESC> {}; |
| 135 | +struct stype_map<ur_exp_external_semaphore_desc_t> |
| 136 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_EXTERNAL_SEMAPHORE_DESC> {}; |
90 | 137 | template <> |
91 | | -struct stype_map<ur_exp_file_descriptor_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_FILE_DESCRIPTOR> {}; |
| 138 | +struct stype_map<ur_exp_file_descriptor_t> |
| 139 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_FILE_DESCRIPTOR> {}; |
92 | 140 | template <> |
93 | | -struct stype_map<ur_exp_win32_handle_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_WIN32_HANDLE> {}; |
| 141 | +struct stype_map<ur_exp_win32_handle_t> |
| 142 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_WIN32_HANDLE> {}; |
94 | 143 | template <> |
95 | | -struct stype_map<ur_exp_sampler_addr_modes_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_SAMPLER_ADDR_MODES> {}; |
| 144 | +struct stype_map<ur_exp_sampler_addr_modes_t> |
| 145 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_SAMPLER_ADDR_MODES> {}; |
96 | 146 | template <> |
97 | | -struct stype_map<ur_exp_sampler_cubemap_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_SAMPLER_CUBEMAP_PROPERTIES> {}; |
| 147 | +struct stype_map<ur_exp_sampler_cubemap_properties_t> |
| 148 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_SAMPLER_CUBEMAP_PROPERTIES> {}; |
98 | 149 | template <> |
99 | | -struct stype_map<ur_exp_image_copy_region_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_IMAGE_COPY_REGION> {}; |
| 150 | +struct stype_map<ur_exp_image_copy_region_t> |
| 151 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_IMAGE_COPY_REGION> {}; |
100 | 152 | template <> |
101 | | -struct stype_map<ur_exp_async_usm_alloc_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_ASYNC_USM_ALLOC_PROPERTIES> {}; |
| 153 | +struct stype_map<ur_exp_async_usm_alloc_properties_t> |
| 154 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_ASYNC_USM_ALLOC_PROPERTIES> {}; |
102 | 155 | template <> |
103 | | -struct stype_map<ur_exp_enqueue_native_command_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_ENQUEUE_NATIVE_COMMAND_PROPERTIES> {}; |
| 156 | +struct stype_map<ur_exp_enqueue_native_command_properties_t> |
| 157 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_ENQUEUE_NATIVE_COMMAND_PROPERTIES> { |
| 158 | +}; |
104 | 159 | template <> |
105 | | -struct stype_map<ur_exp_enqueue_ext_properties_t> : stype_map_impl<UR_STRUCTURE_TYPE_EXP_ENQUEUE_EXT_PROPERTIES> {}; |
106 | | - |
| 160 | +struct stype_map<ur_exp_enqueue_ext_properties_t> |
| 161 | + : stype_map_impl<UR_STRUCTURE_TYPE_EXP_ENQUEUE_EXT_PROPERTIES> {}; |
0 commit comments