Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions projects/rocfft/library/src/include/data_layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@ struct data_layout_t
// Fields need access to private members to erase or reorder length axes in their bricks'
// layouts and to compare individual axes for undistributed-dimension detection.
friend struct rocfft_field_t;
// rocfft-internal-test drives reorder_length_axes directly (defined in data_layout_test.cpp).
friend struct data_layout_test_access;
};

#endif // DATA_LAYOUT_H
5 changes: 4 additions & 1 deletion projects/rocfft/library/src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
include( ../../../cmake/sqlite.cmake )

add_executable( rocfft-internal-test
data_layout_test.cpp
function_pool_test.cpp
internal_test_main.cpp
rtc_test.cpp
../data_layout.cpp
../rocfft_stub.cpp
)

Expand Down Expand Up @@ -60,7 +63,7 @@ if( NOT BUILD_GTEST )
find_package( GTest QUIET )
endif()
if( GTest_FOUND )
target_link_libraries( rocfft-internal-test PRIVATE GTest::gtest GTest::gtest_main )
target_link_libraries( rocfft-internal-test PRIVATE GTest::gtest )
else()
include( ${PROJECT_SOURCE_DIR}/cmake/build-gtest.cmake )
add_dependencies( rocfft-internal-test gtest )
Expand Down
Loading
Loading