You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_info return types are documented in a sycl manual
// device info of type described in Table 4.20 of SYCL Spec
and are in a device_traits.def file
// types are in /opt/intel/oneapi/compiler/2021.3.0/linux/include/sycl/CL/sycl/info/device_traits.def
The types aren't easy to find in the debugger source browsing and aren't easy to obtain by any type of introspection that I could find.
I ended up just doing assign to auto variables and then running a linux demangle utility, __cxa_demangle, on the typeid(var).name(), and printing out return types. I don't believe MSVC has this particular demangle utility available. __cxa_demangle doc fig_6_9_queries_return_types.zip
Several of the get_info calls can throw exceptions.
The text was updated successfully, but these errors were encountered:
The get_info return types are documented in a sycl manual
// device info of type described in Table 4.20 of SYCL Spec
and are in a device_traits.def file
// types are in /opt/intel/oneapi/compiler/2021.3.0/linux/include/sycl/CL/sycl/info/device_traits.def
The types aren't easy to find in the debugger source browsing and aren't easy to obtain by any type of introspection that I could find.
I ended up just doing assign to auto variables and then running a linux demangle utility, __cxa_demangle, on the typeid(var).name(), and printing out return types. I don't believe MSVC has this particular demangle utility available.
__cxa_demangle doc
fig_6_9_queries_return_types.zip
Several of the get_info calls can throw exceptions.
The text was updated successfully, but these errors were encountered: