Skip to content

Commit

Permalink
[dft] removed unneeded library from dft tests (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
FMarno authored Jul 6, 2023
1 parent be01c23 commit 1a243e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/dft/descriptor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ namespace dft {
namespace detail {

// Compute the default strides. Modifies real_strides and complex_strides arguments.
void compute_default_strides(const std::vector<std::int64_t>& dimensions,
std::vector<std::int64_t>& input_strides,
std::vector<std::int64_t>& output_strides) {
inline void compute_default_strides(const std::vector<std::int64_t>& dimensions,
std::vector<std::int64_t>& input_strides,
std::vector<std::int64_t>& output_strides) {
auto rank = dimensions.size();
std::vector<std::int64_t> strides(rank + 1, 1);
for (auto i = rank - 1; i > 0; --i) {
Expand Down
6 changes: 1 addition & 5 deletions tests/unit_tests/dft/source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,8 @@ target_include_directories(dft_source_ct
)
if (USE_ADD_SYCL_TO_TARGET_INTEGRATION)
add_sycl_to_target(TARGET dft_source_ct SOURCES ${DFT_SOURCES})
target_link_libraries(dft_source_ct PUBLIC onemkl)
else ()
target_link_libraries(dft_source_ct PUBLIC
onemkl
ONEMKL::SYCL::SYCL
)
target_link_libraries(dft_source_ct PUBLIC ONEMKL::SYCL::SYCL)
endif ()
target_link_libraries(dft_source_ct PRIVATE onemkl_warnings)

0 comments on commit 1a243e0

Please sign in to comment.