We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca8d91 commit 857362dCopy full SHA for 857362d
unified-runtime/source/adapters/level_zero/image_common.cpp
@@ -1014,6 +1014,18 @@ bool verifyCommonImagePropertiesSupport(
1014
}
1015
1016
1017
+ #if defined(_WIN32)
1018
+ // Verify unnormalized channel type support.
1019
+ // LevelZero currently doesn't support unnormalized channel types on Windows.
1020
+ switch (pImageFormat->channelType) {
1021
+ default:
1022
+ break;
1023
+ case UR_IMAGE_CHANNEL_TYPE_UNORM_INT8:
1024
+ case UR_IMAGE_CHANNEL_TYPE_UNORM_INT16:
1025
+ return false;
1026
+ }
1027
+ #endif
1028
+
1029
return supported;
1030
1031
0 commit comments