Skip to content

Commit

Permalink
graph(hip): enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
romintomasetti committed Mar 15, 2023
1 parent 0eeb3a4 commit bb5ef8f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,12 @@ if(Kokkos_ENABLE_HIP)
UnitTestMain.cpp
hip/TestHIP_InterOp_Streams.cpp
)
KOKKOS_ADD_EXECUTABLE_AND_TEST(
UnitTest_HIPGraph
SOURCES
UnitTestMainInit.cpp
hip/TestHIP_Graph.cpp
)
endif()

if(Kokkos_ENABLE_SYCL)
Expand Down
1 change: 1 addition & 0 deletions core/unit_test/category_files/TestHIP_Category.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
#define TEST_CATEGORY_NUMBER 6
#define TEST_CATEGORY_DEATH hip_DeathTest
#define TEST_EXECSPACE Kokkos::HIP
#define TEST_CATEGORY_FIXTURE(name) hip_##name

#endif
18 changes: 18 additions & 0 deletions core/unit_test/hip/TestHIP_Graph.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
// See https://kokkos.org/LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//@HEADER

#include <TestHIP_Category.hpp>
#include <TestGraph.hpp>

0 comments on commit bb5ef8f

Please sign in to comment.