-
case 1) for context this is shape of an array: case 1 works fine without error but case 2 gives back the error: in the documentation it is mentioned that rgb is supported i have seen it also in the code of image_from_array(). Im a nooby so i tried finding the Image class to see what i am missing but i couldnt find it. Why does it need that one more byte for alpha, what am i missing. I am using PIL image.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That error message comes from the ICD. Does it support RGB? Do the arguments that |
Beta Was this translation helpful? Give feedback.
i see now it seems that intel is not supporting any image type other than RGBA for some god forsaken reason. Maybe add that as note that intel igpus dont support fomrats other than:
Format [0] = CL_RGBA / CL_UNORM_INT8
Format [1] = CL_RGBA / CL_UNORM_INT16
Format [2] = CL_RGBA / CL_SIGNED_INT8
Format [3] = CL_RGBA / CL_SIGNED_INT16
Format [4] = CL_RGBA / CL_SIGNED_INT32
Format [5] = CL_RGBA / CL_UNSIGNED_INT8
Format [6] = CL_RGBA / CL_UNSIGNED_INT16
Format [7] = CL_RGBA / CL_UNSIGNED_INT32
Format [8] = CL_RGBA / CL_HALF_FLOAT
Format [9] = CL_RGBA / CL_FLOAT
Format [10] = CL_BGRA / CL_UNORM_INT8
Format [11] = CL_INTENSITY / CL_FLOAT
Format [12] = CL_LUMINANCE / CL_FLOAT
i found this here