SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
[ROCm/hip-tests commit: ee3c94faf2]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Jatin Jaikishan Chaudhary
ebeveyn
349acb4198
işleme
cb193f70c4
@@ -50,6 +50,8 @@ void queueJobsForhipMemset2DAsync(char* A_d, char* A_h, size_t pitch,
|
||||
* Order of execution of device kernel and hipMemset2DAsync api.
|
||||
*/
|
||||
TEST_CASE("Unit_hipMemset2DAsync_WithKernel") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
constexpr auto N = 4 * 1024 * 1024;
|
||||
constexpr auto blocksPerCU = 6; // to hide latency
|
||||
constexpr auto threadsPerBlock = 256;
|
||||
@@ -132,6 +134,8 @@ TEST_CASE("Unit_hipMemset2DAsync_WithKernel") {
|
||||
* hipMemSet2DAsync execution in multiple threads.
|
||||
*/
|
||||
TEST_CASE("Unit_hipMemset2DAsync_MultiThread") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
constexpr auto memPerThread = 200;
|
||||
constexpr int memsetval = 0x22;
|
||||
char *A_d, *A_h, *B_d, *B_h, *C_d;
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle