File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ def get_adapter_handles(specs):
653653 objs = []
654654 for s in specs :
655655 for obj in s ['objects' ]:
656- if obj_traits .is_handle (obj ) and not obj_traits .is_loader_only (obj ):
656+ if obj_traits .is_handle (obj ) and not ( obj_traits .is_loader_only (obj ) or 'native' in obj [ 'name' ] ):
657657 objs .append (obj )
658658
659659 return objs
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ ur_event_factory_t ur_event_factory;
2222ur_program_factory_t ur_program_factory;
2323ur_kernel_factory_t ur_kernel_factory;
2424ur_queue_factory_t ur_queue_factory;
25- ur_native_factory_t ur_native_factory;
2625ur_sampler_factory_t ur_sampler_factory;
2726ur_mem_factory_t ur_mem_factory;
2827ur_physical_mem_factory_t ur_physical_mem_factory;
Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ using ur_queue_object_t = object_t<ur_queue_handle_t>;
4949using ur_queue_factory_t =
5050 singleton_factory_t <ur_queue_object_t , ur_queue_handle_t >;
5151
52- using ur_native_object_t = object_t <ur_native_handle_t >;
53- using ur_native_factory_t =
54- singleton_factory_t <ur_native_object_t , ur_native_handle_t >;
55-
5652using ur_sampler_object_t = object_t <ur_sampler_handle_t >;
5753using ur_sampler_factory_t =
5854 singleton_factory_t <ur_sampler_object_t , ur_sampler_handle_t >;
You can’t perform that action at this time.
0 commit comments