From 1b0be33247b7b7c2edfe805f1df564be0961cebc Mon Sep 17 00:00:00 2001 From: Anusha GodavarthySurya Date: Thu, 17 Jun 2021 09:40:39 -0700 Subject: [PATCH] SWDEV-240806 - Enable hipgraph test on amd platform Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb [ROCm/hip commit: 7c5afff964beb6dd13ad4d7e261f5c89a44a3acc] --- projects/hip/tests/src/runtimeApi/graph/hipGraph.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/projects/hip/tests/src/runtimeApi/graph/hipGraph.cpp b/projects/hip/tests/src/runtimeApi/graph/hipGraph.cpp index a964ec07ff..6fa38add56 100644 --- a/projects/hip/tests/src/runtimeApi/graph/hipGraph.cpp +++ b/projects/hip/tests/src/runtimeApi/graph/hipGraph.cpp @@ -24,9 +24,8 @@ #include /* HIT_START * BUILD: %t %s ../../test_common.cpp EXCLUDE_HIP_PLATFORM nvidia - * TEST: %t EXCLUDE_HIP_PLATFORM all + * TEST: %t EXCLUDE_HIP_PLATFORM nvidia * HIT_END - */ #define THREADS_PER_BLOCK 512 #define GRAPH_LAUNCH_ITERATIONS 3 @@ -245,9 +244,6 @@ bool hipGraphsManual(float* inputVec_h, float* inputVec_d, double* outputVec_d, int main(int argc, char** argv) { size_t size = 1 << 12; // number of elements to reduce size_t maxBlocks = 512; - // This will pick the best possible CUDA capable device - int devID = 1; // TODO: implement: findCudaDevice(argc, (const char**)argv); based of max GFLOPS - // incase of multiple devic hipSetDevice(0); // printf("%zu elements\n", size); printf("threads per block = %d\n", THREADS_PER_BLOCK);