- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using OpenCL I can list extensions a given platform supports as follows:
clGetPlatformInfo(platform, CL_PLATFORM_EXTENSIONS, 0, NULL, &n_bytes);
On the Agilex 7 FPGA I'm using the call returns the following list:
Extensions : cl_khr_byte_addressable_store cles_khr_int64 cl_khr_icd cl_khr_fp64 cl_intel_unified_shared_memory cl_intel_create_buffer_with_properties cl_intel_mem_channel_property cl_intel_mem_alloc_buffer_location cl_intel_program_scope_host_pipe cl_intel_global_variable_access
My question is what is the equivalent SYCL code to query the same info? Some documentation refers to types in the "aspect" namespace, but they don't match all extensions CL_PLATFORM_EXTENSIONS returns. For example, I can't find cl_intel_mem_channel_property
anywhere in the SYCL api.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm escalating your question to our internal engineering team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply. I figured it out. Fetching device extensions is not well-supported in SYCL. So you have to use the extensions method that is deprecated and then parse the strings.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page