Skip to content

Commit

Permalink
regression: do not use file system symbolic/hard links (ROCm#2425)
Browse files Browse the repository at this point in the history
Co-authored-by: Artur Wojcik <artur.wojcik@amd.com>
Co-authored-by: JD <jahandad@gmail.com>
Co-authored-by: Jun Liu <Liu.Jun@amd.com>
  • Loading branch information
4 people authored Oct 18, 2023
1 parent ac2036d commit 31e8376
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
1 change: 1 addition & 0 deletions driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cmake_minimum_required( VERSION 3.5)
find_package(Threads REQUIRED)

add_executable(MIOpenDriver main.cpp InputFlags.cpp)
target_include_directories(MIOpenDriver PRIVATE ../src/kernels)
target_link_libraries(MIOpenDriver MIOpen)
target_link_libraries(MIOpenDriver ${CMAKE_THREAD_LIBS_INIT})
if(NOT MIOPEN_EMBED_DB STREQUAL "")
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
2 changes: 1 addition & 1 deletion speedtests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function(add_speedtest_executable TEST_NAME)
endif()
separate_arguments(MIOPEN_TEST_FLAGS_ARGS UNIX_COMMAND ${MIOPEN_TEST_FLAGS})
target_link_libraries(${TEST_NAME} MIOpen)
target_include_directories(${TEST_NAME} PRIVATE ../test)
target_include_directories(${TEST_NAME} PRIVATE ../test ../src/kernels)
endfunction(add_speedtest_executable)

foreach(TEST ${TESTS})
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 @@ -372,9 +372,10 @@ function(add_test_executable TEST_NAME)
endif()
if(NOT MIOPEN_EMBED_DB STREQUAL "")
target_link_libraries(${TEST_NAME} MIOpen miopen_data)
else()
else()
target_link_libraries(${TEST_NAME} MIOpen)
endif()
target_include_directories(${TEST_NAME} PRIVATE ../src/kernels)
endfunction(add_test_executable)

set(MIOPEN_TEST_SANITIZERS)
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 @@ -24,7 +24,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 ../ ../../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_bwd.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/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/gtest/solver_wrw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <fusionHost.hpp>
#include <miopen/conv/wrw_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 31e8376

Please sign in to comment.