OpenCL C Expressions (Debugging with GDB)

From Get docs
Gdb/docs/latest/gdb/OpenCL-C-Expressions


15.4.5.2 OpenCL C Expressions

GDB supports accesses to vector components including the access as lvalue where possible. Since OpenCL C is based on C99 most C expressions supported by GDB can be used as well.