#define CL_DEVICE_PCI_SLOP_ID_TMP {0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,0x2f, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6c, 0x2e, 0x6c, 0x74, 0x64, 0x2f, 0x76, 0x31, 0x2f}
将这串16进制ASCII代码转换为字符,将得到一个字符串,如下:
0x68 -> 'h'
0x74 -> 't'
0x74 -> 't'
0x70 -> 'p'
0x73 -> 's'
0x3a -> ':'
0x2f -> '/'
0x2f -> '/'
0x6f -> 'o'
0x70 -> 'p'
0x65 -> 'e'
0x6e -> 'n'
0x63 -> 'c'
0x6c -> 'l'
0x2e -> '.'
0x6c -> 'l'
0x74 -> 't'
0x64 -> 'd'
0x2f -> '/'
0x76 -> 'v'
0x31 -> '1'
0x2f -> '/'
所以,这个宏 CL_DEVICE_PCI_SLOP_ID_TMP 定义了一个字符串 "https://opencl.ltd/v1/"