ginkgo_create_hip_test(hip_executor)
ginkgo_create_thread_test(hip_executor_reset)
if(GINKGO_HAVE_HWLOC)
    find_package(NUMA REQUIRED)
    ginkgo_create_hip_test(hip_executor_topology NUMA::NUMA)
endif()
ginkgo_create_hip_test(kernel_launch)
# correct flags for kernel_launch.hpp are set in GINKGO_HIPCC_OPTIONS
ginkgo_create_hip_test(lin_op)
ginkgo_create_hip_test(math)
# Only hcc needs the libraries. nvcc only requires the headers.
if (GINKGO_HIP_PLATFORM MATCHES "${HIP_PLATFORM_AMD_REGEX}")
    ginkgo_create_hip_test(exception_helpers roc::hipblas roc::hipsparse hip::hiprand roc::rocrand)
else()
    ginkgo_create_hip_test(exception_helpers)
endif()
