SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
This commit is contained in:
1 parent
b6b43db172
commit
ee3c94faf2
52 files changed
+524
-76
No files matched your search
@@ -63,6 +63,8 @@ static void Malloc3DThreadFunc(int gpu) {
|
||||
* assigning width,height and depth as 10
|
||||
*/
|
||||
TEST_CASE("Unit_hipMalloc3D_Basic") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
size_t width = SMALL_SIZE * sizeof(char);
|
||||
size_t height{SMALL_SIZE}, depth{SMALL_SIZE};
|
||||
hipPitchedPtr devPitchedPtr;
|
||||
@@ -75,6 +77,8 @@ This testcase verifies the hipMalloc3D API by allocating
|
||||
smaller and big chunk data.
|
||||
*/
|
||||
TEST_CASE("Unit_hipMalloc3D_SmallandBigChunks") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
MemoryAlloc3DDiffSizes(0);
|
||||
}
|
||||
|
||||
@@ -84,6 +88,8 @@ scenario by launching threads in parallel on multiple GPUs
|
||||
and verifies the hipMalloc3D API with small and big chunks data
|
||||
*/
|
||||
TEST_CASE("Unit_hipMalloc3D_MultiThread") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
std::vector<std::thread> threadlist;
|
||||
int devCnt = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user