Skip to content

Commit

Permalink
regression: do not use file system symbolic links
Browse files Browse the repository at this point in the history
  • Loading branch information
apwojcik committed Oct 1, 2023
1 parent 8cb1a62 commit 6678e47
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

add_executable(MIOpenDriver main.cpp InputFlags.cpp)
target_link_libraries(MIOpenDriver MIOpen MIOpenCore ${BZIP2_LIBRARIES} Threads::Threads)
target_include_directories(MIOpenDriver PRIVATE ${CMAKE_SOURCE_DIR}/src/kernels)
if(NOT MIOPEN_EMBED_DB STREQUAL "")
target_link_libraries(MIOpenDriver $<BUILD_INTERFACE:miopen_data> )
endif()
Expand Down
2 changes: 1 addition & 1 deletion driver/driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <miopen/bfloat16.hpp>
using half = half_float::half;
using hip_bfloat16 = bfloat16;
#include <miopen/hip_float8.hpp>
#include <hip_float8.hpp>
using float16 = half_float::half;
using float8 = miopen_f8::hip_f8<miopen_f8::hip_f8_type::fp8>;
using bfloat8 = miopen_f8::hip_f8<miopen_f8::hip_f8_type::bf8>;
Expand Down
1 change: 0 additions & 1 deletion src/include/miopen/hip_f8_impl.hpp

This file was deleted.

1 change: 0 additions & 1 deletion src/include/miopen/hip_float8.hpp

This file was deleted.

3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ function(add_test_executable TEST_NAME)
target_include_directories(${TEST_NAME} SYSTEM PRIVATE ${BZIP2_INCLUDE_DIR})
target_include_directories(${TEST_NAME} PRIVATE
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>)
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/include>
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/src/kernels>)
target_include_directories(${TEST_NAME} SYSTEM PRIVATE $<BUILD_INTERFACE:${HALF_INCLUDE_DIR}>)
if(MIOPEN_BACKEND STREQUAL "HIPOC" OR MIOPEN_BACKEND STREQUAL "HIP")
target_link_libraries(${TEST_NAME} hip::device hip::host)
Expand Down
2 changes: 1 addition & 1 deletion test/cpu_conv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "tensor_holder.hpp"
#include <miopen/stringutils.hpp>
#include <miopen/functional.hpp>
#include <miopen/hip_float8.hpp>
#include <hip_float8.hpp>

template <class T, class... Ts>
static constexpr auto make_array(T x, Ts... xs)
Expand Down
2 changes: 1 addition & 1 deletion test/gtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function(add_gtest TEST_NAME)
add_dependencies(tests test_${TEST_NAME})
add_dependencies(check test_${TEST_NAME})
target_compile_options(test_${TEST_NAME} PRIVATE -Wno-global-constructors -Wno-undef)
target_include_directories(test_${TEST_NAME} PRIVATE ../)
target_include_directories(test_${TEST_NAME} PRIVATE ../ ${CMAKE_SOURCE_DIR}/src/kernels)
if(MIOPEN_ENABLE_AI_KERNEL_TUNING)
target_include_directories(test_${TEST_NAME} SYSTEM PRIVATE $<BUILD_INTERFACE:${FDEEP_INCLUDE_DIR}>)
target_include_directories(test_${TEST_NAME} SYSTEM PRIVATE $<BUILD_INTERFACE:${EIGEN_INCLUDE_DIR}/eigen3>)
Expand Down
2 changes: 1 addition & 1 deletion test/gtest/solver_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <fusionHost.hpp>
#include <miopen/conv/data_invoke_params.hpp>

#include <miopen/hip_float8.hpp>
#include <hip_float8.hpp>
#include <miopen/type_name.hpp>
#include <miopen/rank.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/tensor_holder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#endif
using half = half_float::half;
using hip_bfloat16 = bfloat16;
#include <miopen/hip_float8.hpp>
#include <hip_float8.hpp>
using float8 = miopen_f8::hip_f8<miopen_f8::hip_f8_type::fp8>;
using bfloat8 = miopen_f8::hip_f8<miopen_f8::hip_f8_type::bf8>;

Expand Down
2 changes: 1 addition & 1 deletion test/verify.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <miopen/bfloat16.hpp>
using half = half_float::half;
using hip_bfloat16 = bfloat16;
#include <miopen/hip_float8.hpp>
#include <hip_float8.hpp>
#include "tensor_holder.hpp"

namespace miopen {
Expand Down

0 comments on commit 6678e47

Please sign in to comment.