SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphEventWaitNodeSetEvent() (#2590)

- Functional Tests
- Negative Tests

Change-Id: I2421c3def1a7c6865dca29bde7e741948e67345d


[ROCm/hip-tests commit: 810dd89f46]
이 커밋은 다음에 포함됨:
ROCm CI Service Account 작성하고 GitHub가 2022-06-16 17:09:11 -07:00를 커밋함
1 부모 dcc9239ed0
커밋 c6673650f2
3 파일이 변경됨
+326 -1

검색과 일치하는 파일 없음

+8 -1
파일 보기
@@ -1,5 +1,5 @@
/*
Copyright (c) 2021 - 2021 Advanced Micro Devices, Inc. All rights reserved.
Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -89,4 +89,11 @@ template <typename T> __global__ void vector_square(const T* A_d, T* C_d, size_t
}
}
template <typename T> __global__ void vector_cubic(const T* A_d, T* C_d, size_t N_ELMTS) {
size_t gputhread = (blockIdx.x * blockDim.x + threadIdx.x);
size_t stride = blockDim.x * gridDim.x;
for (size_t i = gputhread; i < N_ELMTS; i += stride) {
C_d[i] = A_d[i] * A_d[i] * A_d[i];
}
}
} // namespace HipTest