CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
299 lines
6.5 KiB
C++
299 lines
6.5 KiB
C++
/*
|
|
* Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <hip_test_common.hh>
|
|
|
|
// Test groups are named based on the group names from hip_api_runtime.h, with adding "Test" suffix
|
|
|
|
/**
|
|
* @defgroup CallbackTest Callback Activity APIs
|
|
* @{
|
|
* This section describes tests for the callback/Activity of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ContextTest Context Management
|
|
* @{
|
|
* This section describes tests for the context management functions of HIP runtime API.
|
|
* @warning All Context Management APIs are **deprecated** and shall not be implemented.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup AtomicsTest Device Atomics
|
|
* @{
|
|
* This section describes tests for the Device Atomic APIs.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup DeviceLanguageTest Device Language
|
|
* @{
|
|
* This section describes tests for the Device Language API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup DeviceTest Device Management
|
|
* @{
|
|
* This section describes tests for device management functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup DriverTest Initialization and Version
|
|
* @{
|
|
* This section describes tests for the initialization and version functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup DynamicLoadingTest Kernel Loading Management
|
|
* @{
|
|
* This section describes the different kernel launch approaches.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ErrorTest Error Handling
|
|
* @{
|
|
* This section describes tests for the error handling functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup EventTest Event Management
|
|
* @{
|
|
* This section describes tests for the event management functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ExecutionTest Execution Control
|
|
* @{
|
|
* This section describes tests for the execution control functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup GraphTest Graph Management
|
|
* @{
|
|
* This section describes tests for the graph management types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup KernelTest Kernel Functions Management
|
|
* @{
|
|
* This section describes the various kernel functions invocation.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup SyncthreadsTest Synchronization Functions
|
|
* @{
|
|
* This section describes tests for Synchronization Functions.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ThreadfenceTest Memory Fence Functions
|
|
* @{
|
|
* This section describes tests for Memory Fence Functions.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup MemoryTest memory Management APIs
|
|
* @{
|
|
* This section describes the memory management types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PeerToPeerTest PeerToPeer Device Memory Access
|
|
* @{
|
|
* This section describes tests for the PeerToPeer device memory access functions of HIP runtime
|
|
* API.
|
|
* @warning PeerToPeer support is experimental.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTest Performance tests
|
|
* @{
|
|
* This section describes performance tests for the target API groups and use-cases.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestEvent Event performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for the HIP event APIs.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestStream Stream performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for the HIP stream APIs.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestMemory Memory performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for the HIP memory management APIs
|
|
* (including memcpy, memset, and host/device allocation).
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestKernelLaunch Kernel launch performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for HIP kernel launch APIs.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestWarpSync Warp sync performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for HIP warp synchronization
|
|
* primitives.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestGraph Graph performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for the HIP graph APIs.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestCompute Compute performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for HIP compute workloads.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestDispatch Dispatch performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for HIP kernel dispatch.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PerformanceTestVMM Virtual memory management performance tests
|
|
* @ingroup PerformanceTest
|
|
* @{
|
|
* This section describes performance tests for HIP virtual memory management
|
|
* APIs.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ShflTest warp shuffle function Management
|
|
* @{
|
|
* This section describes the warp shuffle types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup p2pTest P2P Management
|
|
* @{
|
|
* This section describes the P2P management types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup StreamOTest Ordered Memory Allocator
|
|
* @{
|
|
* This section describes the tests for Stream Ordered Memory Allocator functions of HIP runtime
|
|
* API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup StreamTest Stream Management
|
|
* @{
|
|
* This section describes the stream management types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ModuleTest Module Management
|
|
* @{
|
|
* This section describes the module management types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup TextureTest Texture Management
|
|
* @{
|
|
* This section describes tests for the texture management functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup VectorTypeTest Vector types
|
|
* @{
|
|
* This section describes tests for the Vector type functions and operators.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup MathTest Math Device Functions
|
|
* @{
|
|
* This section describes tests for device math functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup PrintfTest Printf API Management
|
|
* @{
|
|
* This section describes the various Printf use case Scenarios.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup SurfaceTest Surface Management
|
|
* @{
|
|
* This section describes tests for the surface management functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ComplexTest Complex type
|
|
* @{
|
|
* This section describes tests for the Complex type functions.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup VirtualMemoryManagementTest Virtual Memory Management APIs
|
|
* @{
|
|
* This section describes the virtual memory management types & functions of HIP runtime API.
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @defgroup ModuleTest Module Functions Management
|
|
* @{
|
|
* This section describes the loading of modules from code object files and invocation of different kernels.
|
|
* @}
|
|
*/
|