common-opencl use ARCH_INDEX for char value to avoid warnings