SWDEV-240806 - Enable hipgraph test on amd platform

Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb


[ROCm/hip commit: 7c5afff964]
이 커밋은 다음에 포함됨:
Anusha GodavarthySurya 작성하고 Anusha Godavarthy Surya가 2021-06-22 01:41:25 -04:00를 커밋함
1 부모 42e61e12ab
커밋 1b0be33247
1 파일이 변경됨
+1 -5
+1 -5
파일 보기
@@ -24,9 +24,8 @@
#include <vector>
/* 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);