We have some inconsistency across the naming of functions in C API and Python. E.g.,
| SYCL Function |
dpCtl C-API function |
Python API function |
get_info<info::device::driver_version> |
DPCTLDevice_GetDriverInfo |
get_driver_version |
Each function in C API should be named as DPCTLXXXX_YYYY(), where XXXX is the SYCL class name in camel case and YYYY is a meaningful approximation of the SYCL function name. The function name should be close to the SYCL function name with changes as needed to handle templates. For example, the device class get_info functions should be converted into DPCTLDevice_GetZZZZ, where ZZZZ is the descriptor information type. For the above example of get_info<info::device::driver_version the correct C API name should be DPCTLDevice_GetDriverVersion.