@@ -88,128 +88,128 @@ def check_get_max_num_sub_groups(device):
8888
8989def check_has_aspect_host (device ):
9090 try :
91- device .aspect_host
91+ device .has_aspect_host
9292 except Exception :
93- pytest .fail ("aspect_host call failed" )
93+ pytest .fail ("has_aspect_host call failed" )
9494
9595
9696def check_has_aspect_cpu (device ):
9797 try :
98- device .aspect_cpu
98+ device .has_aspect_cpu
9999 except Exception :
100- pytest .fail ("aspect_cpu call failed" )
100+ pytest .fail ("has_aspect_cpu call failed" )
101101
102102
103103def check_has_aspect_gpu (device ):
104104 try :
105- device .aspect_gpu
105+ device .has_aspect_gpu
106106 except Exception :
107- pytest .fail ("aspect_gpu call failed" )
107+ pytest .fail ("has_aspect_gpu call failed" )
108108
109109
110110def check_has_aspect_accelerator (device ):
111111 try :
112- device .aspect_accelerator
112+ device .has_aspect_accelerator
113113 except Exception :
114- pytest .fail ("aspect_accelerator call failed" )
114+ pytest .fail ("has_aspect_accelerator call failed" )
115115
116116
117117def check_has_aspect_custom (device ):
118118 try :
119- device .aspect_custom
119+ device .has_aspect_custom
120120 except Exception :
121- pytest .fail ("aspect_custom call failed" )
121+ pytest .fail ("has_aspect_custom call failed" )
122122
123123
124124def check_has_aspect_fp16 (device ):
125125 try :
126- device .aspect_fp16
126+ device .has_aspect_fp16
127127 except Exception :
128- pytest .fail ("aspect_fp16 call failed" )
128+ pytest .fail ("has_aspect_fp16 call failed" )
129129
130130
131131def check_has_aspect_fp64 (device ):
132132 try :
133- device .aspect_fp64
133+ device .has_aspect_fp64
134134 except Exception :
135- pytest .fail ("aspect_fp64 call failed" )
135+ pytest .fail ("has_aspect_fp64 call failed" )
136136
137137
138138def check_has_aspect_int64_base_atomics (device ):
139139 try :
140- device .aspect_int64_base_atomics
140+ device .has_aspect_int64_base_atomics
141141 except Exception :
142- pytest .fail ("aspect_int64_base_atomics call failed" )
142+ pytest .fail ("has_aspect_int64_base_atomics call failed" )
143143
144144
145145def check_has_aspect_int64_extended_atomics (device ):
146146 try :
147- device .aspect_int64_extended_atomics
147+ device .has_aspect_int64_extended_atomics
148148 except Exception :
149- pytest .fail ("aspect_int64_extended_atomics call failed" )
149+ pytest .fail ("has_aspect_int64_extended_atomics call failed" )
150150
151151
152152def check_has_aspect_image (device ):
153153 try :
154- device .aspect_image
154+ device .has_aspect_image
155155 except Exception :
156- pytest .fail ("aspect_image call failed" )
156+ pytest .fail ("has_aspect_image call failed" )
157157
158158
159159def check_has_aspect_online_compiler (device ):
160160 try :
161- device .aspect_online_compiler
161+ device .has_aspect_online_compiler
162162 except Exception :
163- pytest .fail ("aspect_online_compiler call failed" )
163+ pytest .fail ("has_aspect_online_compiler call failed" )
164164
165165
166166def check_has_aspect_online_linker (device ):
167167 try :
168- device .aspect_online_linker
168+ device .has_aspect_online_linker
169169 except Exception :
170- pytest .fail ("aspect_online_linker call failed" )
170+ pytest .fail ("has_aspect_online_linker call failed" )
171171
172172
173173def check_has_aspect_queue_profiling (device ):
174174 try :
175- device .aspect_queue_profiling
175+ device .has_aspect_queue_profiling
176176 except Exception :
177- pytest .fail ("aspect_queue_profiling call failed" )
177+ pytest .fail ("has_aspect_queue_profiling call failed" )
178178
179179
180180def check_has_aspect_usm_device_allocations (device ):
181181 try :
182- device .aspect_usm_device_allocations
182+ device .has_aspect_usm_device_allocations
183183 except Exception :
184- pytest .fail ("aspect_usm_device_allocations call failed" )
184+ pytest .fail ("has_aspect_usm_device_allocations call failed" )
185185
186186
187187def check_has_aspect_usm_host_allocations (device ):
188188 try :
189- device .aspect_usm_host_allocations
189+ device .has_aspect_usm_host_allocations
190190 except Exception :
191- pytest .fail ("aspect_usm_host_allocations call failed" )
191+ pytest .fail ("has_aspect_usm_host_allocations call failed" )
192192
193193
194194def check_has_aspect_usm_shared_allocations (device ):
195195 try :
196- device .aspect_usm_shared_allocations
196+ device .has_aspect_usm_shared_allocations
197197 except Exception :
198- pytest .fail ("aspect_usm_shared_allocations call failed" )
198+ pytest .fail ("has_aspect_usm_shared_allocations call failed" )
199199
200200
201201def check_has_aspect_usm_restricted_shared_allocations (device ):
202202 try :
203- device .aspect_usm_restricted_shared_allocations
203+ device .has_aspect_usm_restricted_shared_allocations
204204 except Exception :
205- pytest .fail ("aspect_usm_restricted_shared_allocations call failed" )
205+ pytest .fail ("has_aspect_usm_restricted_shared_allocations call failed" )
206206
207207
208208def check_has_aspect_usm_system_allocator (device ):
209209 try :
210- device .aspect_usm_system_allocator
210+ device .has_aspect_usm_system_allocator
211211 except Exception :
212- pytest .fail ("aspect_usm_system_allocator call failed" )
212+ pytest .fail ("has_aspect_usm_system_allocator call failed" )
213213
214214
215215def check_is_accelerator (device ):
0 commit comments