Skip to content

Commit

Permalink
HIP: CMake work on tests and ETI to truely enable the backend
Browse files Browse the repository at this point in the history
The goal is to make sure the HIP backend in properly instanciated
by ETI and tested in the unit-test using the Kokkos::Experimental::HIP
and Kokkos::Experimental::HIPSpace execution and memory spaces.

Status of the unit-tests:
Batched -> does not build
Blas    -> builds and Blas1 test pass, others fail
Common  -> does not build
Graph   -> does not build
Sparse  -> builds but does few tests run before crash

Perf-tests not looked at so far
  • Loading branch information
lucbv committed Oct 1, 2020
1 parent 0cced12 commit 569fdd0
Show file tree
Hide file tree
Showing 96 changed files with 353 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/kokkos_backends.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ MACRO(CHECK_KOKKOS_BACKEND BE)
ENDMACRO(CHECK_KOKKOS_BACKEND)

CHECK_KOKKOS_BACKEND(CUDA)
CHECK_KOKKOS_BACKEND(HIP)
CHECK_KOKKOS_BACKEND(OPENMP)
CHECK_KOKKOS_BACKEND(PTHREAD)
CHECK_KOKKOS_BACKEND(SERIAL)
29 changes: 29 additions & 0 deletions cmake/kokkoskernels_eti_devices.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,27 @@

SET(EXEC_SPACES
EXECSPACE_CUDA
EXECSPACE_HIP
EXECSPACE_OPENMP
EXECSPACE_PTHREAD
EXECSPACE_SERIAL
)
SET(EXECSPACE_CUDA_CPP_TYPE Kokkos::Cuda)
SET(EXECSPACE_HIP_CPP_TYPE Kokkos::Experimental::HIP)
SET(EXECSPACE_OPENMP_CPP_TYPE Kokkos::OpenMP)
SET(EXECSPACE_PTHREAD_CPP_TYPE Kokkos::Threads)
SET(EXECSPACE_SERIAL_CPP_TYPE Kokkos::Serial)

SET(MEM_SPACES
MEMSPACE_CUDASPACE
MEMSPACE_CUDAUVMSPACE
MEMSPACE_HIPSPACE
MEMSPACE_HOSTSPACE
MEMSPACE_HBWSPACE
)
SET(MEMSPACE_CUDASPACE_CPP_TYPE Kokkos::CudaSpace)
SET(MEMSPACE_CUDAUVMSPACE_CPP_TYPE Kokkos::CudaUVMSpace)
SET(MEMSPACE_HIPSPACE_CPP_TYPE Kokkos::Experimental::HIPSpace)
SET(MEMSPACE_HOSTSPACE_CPP_TYPE Kokkos::HostSpace)
SET(MEMSPACE_HBWSPACE_CPP_TYPE Kokkos::HBWSpace)

Expand Down Expand Up @@ -57,6 +61,30 @@ IF(KOKKOS_ENABLE_CUDA)

ENDIF()

IF(KOKKOS_ENABLE_HIP)
KOKKOSKERNELS_ADD_OPTION(
INST_EXECSPACE_HIP
${KOKKOSKERNELS_INST_EXECSPACE_HIP_DEFAULT}
BOOL
"Whether to pre instantiate kernels for the execution space Kokkos::Experimental::HIP. Disabling this when Kokkos_ENABLE_HIP is enabled may increase build times. Default: ON if Kokkos is HIP-enabled, OFF otherwise."
)
KOKKOSKERNELS_ADD_OPTION(
INST_MEMSPACE_HIPSPACE
${KOKKOSKERNELS_INST_EXECSPACE_HIP_DEFAULT}
BOOL
"Whether to pre instantiate kernels for the memory space Kokkos::Experimental::HIPSpace. Disabling this when Kokkos_ENABLE_HIP is enabled may increase build times. Default: ON if Kokkos is HIP-enabled, OFF otherwise."
)

IF(KOKKOSKERNELS_INST_EXECSPACE_HIP AND KOKKOSKERNELS_INST_MEMSPACE_HIPSPACE)
LIST(APPEND DEVICE_LIST "<HIP,HIPSpace>")
ENDIF()

IF( Trilinos_ENABLE_COMPLEX_DOUBLE AND ((NOT DEFINED CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS) OR (NOT CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS)) )
MESSAGE( WARNING "The CMake option CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS is either undefined or OFF. Please set CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON when building with HIP and complex double enabled.")
ENDIF()

ENDIF()

KOKKOSKERNELS_ADD_OPTION(
INST_MEMSPACE_HOSTSPACE
${KOKKOSKERNELS_ADD_DEFAULT_ETI}
Expand Down Expand Up @@ -109,6 +137,7 @@ KOKKOSKERNELS_ADD_OPTION(
)

SET(EXECSPACE_CUDA_VALID_MEM_SPACES CUDASPACE CUDAUVMSPACE)
SET(EXECSPACE_HIP_VALID_MEM_SPACES HIPSPACE)
SET(EXECSPACE_SERIAL_VALID_MEM_SPACES HBWSPACE HOSTSPACE)
SET(EXECSPACE_OPENMP_VALID_MEM_SPACES HBWSPACE HOSTSPACE)
SET(EXECSPACE_PTHREAD_VALID_MEM_SPACES HBWSPACE HOSTSPACE)
Expand Down
51 changes: 51 additions & 0 deletions unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,57 @@ IF (KOKKOS_ENABLE_CUDA)
)
ENDIF ()

IF (KOKKOS_ENABLE_HIP)
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/hip)
KOKKOSKERNELS_INCLUDE_DIRECTORIES(REQUIRED_DURING_INSTALLATION_TESTING ${CMAKE_CURRENT_SOURCE_DIR}/hip)

APPEND_GLOB(HIP_BLAS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/hip/Test_HIP_Blas*.cpp)

KOKKOSKERNELS_ADD_UNIT_TEST_EXECUTABLE_AND_TEST(
blas_hip
SOURCES
Test_Main.cpp
${HIP_BLAS_SOURCES}
)

# APPEND_GLOB(HIP_BATCHED_DLA_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/hip/Test_HIP_Batched*.cpp)
# KOKKOSKERNELS_ADD_UNIT_TEST_EXECUTABLE_AND_TEST(
# batched_dla_hip
# SOURCES
# Test_Main.cpp
# ${HIP_BATCHED_DLA_SOURCES}
# )

APPEND_GLOB(HIP_SPARSE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/hip/Test_HIP_Sparse*.cpp)

KOKKOSKERNELS_ADD_UNIT_TEST_EXECUTABLE_AND_TEST(
sparse_hip
SOURCES
Test_Main.cpp
${HIP_SPARSE_SOURCES}
)

# APPEND_GLOB(HIP_GRAPH_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/hip/Test_HIP_Graph*.cpp)

# KOKKOSKERNELS_ADD_UNIT_TEST_EXECUTABLE_AND_TEST(
# graph_hip
# SOURCES
# Test_Main.cpp
# ${HIP_GRAPH_SOURCES}
# )

#currently float 128 test is not working. So common tests are explicitly added.
APPEND_GLOB(HIP_COMMON_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/hip/Test_HIP_Common*.cpp)


KOKKOSKERNELS_ADD_UNIT_TEST_EXECUTABLE_AND_TEST(
common_hip
SOURCES
Test_Main.cpp
${HIP_COMMON_SOURCES}
)
ENDIF ()

IF (KOKKOS_ENABLE_OPENMP)
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/openmp)
KOKKOSKERNELS_INCLUDE_DIRECTORIES(REQUIRED_DURING_INSTALLATION_TESTING ${CMAKE_CURRENT_SOURCE_DIR}/openmp)
Expand Down
21 changes: 21 additions & 0 deletions unit_test/hip/Test_HIP.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include <gtest/gtest.h>
#include <Kokkos_Core.hpp>
#include <KokkosKernels_config.h>

#if defined(KOKKOSKERNELS_TEST_ETI_ONLY) && !defined(KOKKOSKERNELS_ETI_ONLY)
#define KOKKOSKERNELS_ETI_ONLY
#endif

class hip : public ::testing::Test {
protected:
static void SetUpTestCase()
{
}

static void TearDownTestCase()
{
}
};

#define TestCategory hip
#define TestExecSpace Kokkos::Experimental::HIPSpace
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialEigendecomposition.hpp"
#include "Test_Batched_SerialEigendecomposition_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialGemm_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialGemm.hpp"
#include "Test_Batched_SerialGemm_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialGemm_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialGemm.hpp"
#include "Test_Batched_SerialGemm_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialGemv_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialGemv.hpp"
#include "Test_Batched_SerialGemv_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialGemv_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialGemv.hpp"
#include "Test_Batched_SerialGemv_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialInverseLU_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialInverseLU.hpp"
#include "Test_Batched_SerialInverseLU_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialInverseLU_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialInverseLU.hpp"
#include "Test_Batched_SerialInverseLU_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialLU_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialLU.hpp"
#include "Test_Batched_SerialLU_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialLU_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialLU.hpp"
#include "Test_Batched_SerialLU_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialMatUtil_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialMatUtil.hpp"
#include "Test_Batched_SerialMatUtil_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialMatUtil_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialMatUtil.hpp"
#include "Test_Batched_SerialMatUtil_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialSolveLU_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialSolveLU.hpp"
#include "Test_Batched_SerialSolveLU_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialSolveLU_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialSolveLU.hpp"
#include "Test_Batched_SerialSolveLU_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrmm_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrmm.hpp"
#include "Test_Batched_SerialTrmm_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrmm_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrmm.hpp"
#include "Test_Batched_SerialTrmm_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrsm_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrsm.hpp"
#include "Test_Batched_SerialTrsm_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrsm_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrsm.hpp"
#include "Test_Batched_SerialTrsm_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrsv_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrsv.hpp"
#include "Test_Batched_SerialTrsv_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrsv_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrsv.hpp"
#include "Test_Batched_SerialTrsv_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrtri_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrtri.hpp"
#include "Test_Batched_SerialTrtri_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_SerialTrtri_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_SerialTrtri.hpp"
#include "Test_Batched_SerialTrtri_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamGemm_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamGemm.hpp"
#include "Test_Batched_TeamGemm_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamGemm_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamGemm.hpp"
#include "Test_Batched_TeamGemm_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamGemv_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamGemv.hpp"
#include "Test_Batched_TeamGemv_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamGemv_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamGemv.hpp"
#include "Test_Batched_TeamGemv_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamInverseLU_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamInverseLU.hpp"
#include "Test_Batched_TeamInverseLU_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamInverseLU_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamInverseLU.hpp"
#include "Test_Batched_TeamInverseLU_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamLU_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamLU.hpp"
#include "Test_Batched_TeamLU_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamLU_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamLU.hpp"
#include "Test_Batched_TeamLU_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamMatUtil_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamMatUtil.hpp"
#include "Test_Batched_TeamMatUtil_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamMatUtil_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamMatUtil.hpp"
#include "Test_Batched_TeamMatUtil_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamSolveLU_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamSolveLU.hpp"
#include "Test_Batched_TeamSolveLU_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamSolveLU_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamSolveLU.hpp"
#include "Test_Batched_TeamSolveLU_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamTrsm_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamTrsm.hpp"
#include "Test_Batched_TeamTrsm_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamTrsm_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamTrsm.hpp"
#include "Test_Batched_TeamTrsm_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamTrsv_Complex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamTrsv.hpp"
#include "Test_Batched_TeamTrsv_Complex.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamTrsv_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamTrsv.hpp"
#include "Test_Batched_TeamTrsv_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamVectorQR_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamVectorQR.hpp"
#include "Test_Batched_TeamVectorQR_Real.hpp"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamVectorQR_WithColumnPivoting.hpp"
#include "Test_Batched_TeamVectorQR_WithColumnPivoting_Real.hpp"
6 changes: 6 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamVectorSolveUTV_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamVectorSolveUTV.hpp"
#include "Test_Batched_TeamVectorSolveUTV_Real.hpp"

#include "Test_Batched_TeamVectorSolveUTV2.hpp"
#include "Test_Batched_TeamVectorSolveUTV2_Real.hpp"
3 changes: 3 additions & 0 deletions unit_test/hip/Test_HIP_Batched_TeamVectorUTV_Real.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "Test_HIP.hpp"
#include "Test_Batched_TeamVectorUTV.hpp"
#include "Test_Batched_TeamVectorUTV_Real.hpp"
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_abs.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_abs.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_asum.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_asum.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_axpby.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_axpby.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_axpy.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_axpy.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_dot.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_dot.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_iamax.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_iamax.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_mult.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_mult.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_nrm1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_nrm1.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_nrm2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_nrm2.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_nrm2_squared.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_nrm2_squared.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_nrminf.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_nrminf.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_reciprocal.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_reciprocal.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_scal.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_scal.hpp>
2 changes: 2 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_sum.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include<Test_HIP.hpp>
#include<Test_Blas1_sum.hpp>
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_abs.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_abs.hpp>
#endif
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_axpby.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_axpby.hpp>
#endif
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_axpy.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_axpy.hpp>
#endif
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_dot.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_dot.hpp>
#endif
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_mult.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_mult.hpp>
#endif
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_nrm2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_nrm2.hpp>
#endif
4 changes: 4 additions & 0 deletions unit_test/hip/Test_HIP_Blas1_team_scal.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include<Test_HIP.hpp>
#ifdef KOKKOS_ENABLE_CUDA_LAMBDA
#include<Test_Blas1_team_scal.hpp>
#endif
Loading

0 comments on commit 569fdd0

Please sign in to comment.