Tutorial: Debugging with Intel® Distribution for GDB*
Pretty-printing for SYCL* types
Intel® Distribution for GDB* supports pretty-printing for SYCL* types id, buffer, and range (from the cl::sycl namespace). To disable pretty-printing and display raw content instead, use the /r flag:
print/r index
Example output:
$5 = {<cl::sycl::detail::array<1>> = {common_array = {32}}, <No data fields>}
To display the list of pretty-printers available, run the following command:
info pretty-print
Example output:
global pretty-printers: SYCL cl::sycl::buffer cl::sycl::id cl::sycl::range builtin mpx_bound128