Skip to content
Snippets Groups Projects
Commit 0b598cb5 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Remove CL version query for BITFIELD_CONSTANT_CLASSES

parent e50096a8
No related branches found
No related tags found
No related merge requests found
......@@ -225,16 +225,8 @@ BITFIELD_CONSTANT_CLASSES = (
_cl.mem_flags,
_cl.map_flags,
_cl.kernel_arg_type_qualifier,
)
if get_cl_header_version() >= (1, 2):
BITFIELD_CONSTANT_CLASSES += (
_cl.device_affinity_domain,
_cl.mem_migration_flags,
)
if get_cl_header_version() >= (2, 0):
BITFIELD_CONSTANT_CLASSES += (
_cl.device_svm_capabilities,
_cl.queue_properties,
_cl.svm_mem_flags,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment