SWDEV-504960 - Check image support.
Change-Id: Ieda106374eb066cd20ddd1194a9f9b1352c26d05
[ROCm/hip-tests commit: a7dd22f97f]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
cf6192dc18
tiomantas
2253b82046
3 comhad athraithe
+7
Níor tháinig aon chomhaid le do chuardach
@@ -24,6 +24,7 @@ THE SOFTWARE.
|
||||
texture<float, 1, hipReadModeElementType> tex;
|
||||
|
||||
TEST_CASE("Unit_hipTexRefSetArray_Positive") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
hipArray_t array_set = nullptr;
|
||||
hipArray_t array_get = nullptr;
|
||||
hipModule_t module = nullptr;
|
||||
@@ -47,6 +48,7 @@ TEST_CASE("Unit_hipTexRefSetArray_Positive") {
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipTexRefSetArray_CheckData") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
hipModule_t module = nullptr;
|
||||
hipTexRef tex_ref = nullptr;
|
||||
int num_channels = 0;
|
||||
@@ -75,6 +77,7 @@ TEST_CASE("Unit_hipTexRefSetArray_CheckData") {
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipTexRefSetArray_Negative") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
hipArray_t array_set = nullptr;
|
||||
hipModule_t module = nullptr;
|
||||
hipTexRef tex_ref = nullptr;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir