EXSWHTEC-224 - Test cases ID clean up and documentation for Event Management (#71)

- Test cases ID clean up and documentation for Event Management
이 커밋은 다음에 포함됨:
milos-mozetic 작성하고 GitHub가 2023-06-28 09:45:15 +05:30를 커밋함
1 부모 d0295c4295
커밋 3969e4a320
12 파일이 변경됨
+491 -54

검색과 일치하는 파일 없음

+22
파일 보기
@@ -19,6 +19,17 @@ THE SOFTWARE.
#include <hip_test_common.hh>
/**
* @addtogroup hipEventQuery hipEventQuery
* @{
* @ingroup EventTest
* `hipEventQuery(hipEvent_t event)` -
* Query the status of the specified event.
* ________________________
* Test cases from other modules:
* - @ref Unit_hipEventIpc
*/
// Since we can not use atomic*_system on every gpu, we will use wait based on clock rate.
// This wont be accurate since current clock rate of a GPU varies depending on many variables
// including thermals, load, utilization etc
@@ -48,6 +59,17 @@ __global__ void waitKernel_gfx11(int clockRate, int seconds) {
#endif
}
/**
* Test Description
* ------------------------
* - Query events with a single and with multiple devices.
* Test source
* ------------------------
* - unit/event/Unit_hipEventQuery.cc
* Test requirements
* ------------------------
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipEventQuery_DifferentDevice") {
hipEvent_t event1{}, event2{};
HIP_CHECK(hipEventCreate(&event1));