Skip to content

Commit

Permalink
366827 - Disable file reorg backward compatibility support by default…
Browse files Browse the repository at this point in the history
… (#1154)

* 366827 - Disable file reorg backward compatibility support by default

* Update header includes to reorg path

* Update header includes to reorg path

* Update header includes to reorg path
  • Loading branch information
arvindcheru authored Aug 31, 2023
1 parent da2d66b commit a373877
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ if(BUILD_ADDRESS_SANITIZER)
endif()

# FOR HANDLING ENABLE/DISABLE OPTIONAL BACKWARD COMPATIBILITY for FILE/FOLDER REORG
option(BUILD_FILE_REORG_BACKWARD_COMPATIBILITY "Build with file/folder reorg with backward compatibility enabled" ON)
option(BUILD_FILE_REORG_BACKWARD_COMPATIBILITY "Build with file/folder reorg with backward compatibility enabled" OFF)
if(BUILD_FILE_REORG_BACKWARD_COMPATIBILITY AND NOT WIN32)
rocm_wrap_header_dir(
${CMAKE_SOURCE_DIR}/library/include
Expand Down
2 changes: 1 addition & 1 deletion clients/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ foreach( bench ${bench_list})
# We need to include both rocfft.h and rocfft-export.h
target_include_directories( ${bench}
PRIVATE
${CMAKE_BINARY_DIR}/include/rocfft
${CMAKE_BINARY_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/../../library/include/
${HIP_CLANG_ROOT}/include
)
Expand Down
2 changes: 1 addition & 1 deletion clients/bench/bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "../../shared/gpubuf.h"
#include "../../shared/rocfft_params.h"
#include "bench.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <boost/program_options.hpp>
namespace po = boost::program_options;

Expand Down
2 changes: 1 addition & 1 deletion clients/bench/bench.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef ROCFFT_BENCH_H
#define ROCFFT_BENCH_H

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <boost/program_options.hpp>
#include <hip/hip_runtime_api.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion clients/bench/dyna-bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "../../shared/gpubuf.h"
#include "../../shared/rocfft_params.h"
#include "bench.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"

#include <boost/program_options.hpp>
namespace po = boost::program_options;
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/fixed-16/fixed-16-double.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* THE SOFTWARE.
*******************************************************************************/

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/fixed-16/fixed-16-float.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* THE SOFTWARE.
*******************************************************************************/

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/fixed-16/fixed-16-half.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* THE SOFTWARE.
*******************************************************************************/

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <hip/hip_fp16.h>
#include <hip/hip_runtime_api.h>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/fixed-large/fixed-large-double.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <math.h>
#include <vector>

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>

Expand Down
2 changes: 1 addition & 1 deletion clients/samples/fixed-large/fixed-large-float.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <math.h>
#include <vector>

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>

Expand Down
2 changes: 1 addition & 1 deletion clients/samples/rocfft/rocfft_example_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* THE SOFTWARE.
*******************************************************************************/

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <hip/hip_complex.h>
#include <hip/hip_runtime.h>
#include <hip/hip_vector_types.h>
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/rocfft/rocfft_example_complexcomplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace po = boost::program_options;

#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>
#include <rocfft.h>
#include <rocfft/rocfft.h>

#include "examplekernels.h"
#include "exampleutils.h"
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/rocfft/rocfft_example_realcomplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace po = boost::program_options;

#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>
#include <rocfft.h>
#include <rocfft/rocfft.h>

#include "examplekernels.h"
#include "exampleutils.h"
Expand Down
2 changes: 1 addition & 1 deletion clients/samples/rocfft/rocfft_example_set_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <cassert>
#include <hip/hip_runtime_api.h>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion clients/tests/default_callbacks_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include "../../shared/rocfft_params.h"
#include "fftw_transform.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"

// -------------------------------------
// default load callback definitions
Expand Down
2 changes: 1 addition & 1 deletion clients/tests/gtest_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "../../shared/concurrency.h"
#include "../../shared/environment.h"
#include "../../shared/work_queue.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"
#include "rocfft_accuracy_test.h"
#include "test_params.h"

Expand Down
2 changes: 1 addition & 1 deletion clients/tests/hermitian_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "../samples/rocfft/examplekernels.h"
#include "../samples/rocfft/exampleutils.h"
#include "accuracy_test.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"
#include <functional>
#include <gtest/gtest.h>
#include <hip/hip_runtime_api.h>
Expand Down
2 changes: 1 addition & 1 deletion clients/tests/hipGraph_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "../../shared/gpubuf.h"
#include "../../shared/rocfft_params.h"
#include "accuracy_test.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"
#include "rocfft_against_fftw.h"
#include <gtest/gtest.h>
#include <hip/hip_runtime.h>
Expand Down
2 changes: 1 addition & 1 deletion clients/tests/multithread_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "../../shared/gpubuf.h"
#include "../../shared/rocfft_params.h"
#include "accuracy_test.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"
#include "rocfft_against_fftw.h"
#include <gtest/gtest.h>
#include <hip/hip_runtime.h>
Expand Down
2 changes: 1 addition & 1 deletion clients/tests/rocfft_accuracy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include "../../shared/gpubuf.h"
#include "fftw_transform.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"
#include "rocfft_against_fftw.h"

void fft_vs_reference(rocfft_params& params, bool round_trip)
Expand Down
2 changes: 1 addition & 1 deletion clients/tests/test_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#ifndef TESTCONSTANTS_H
#define TESTCONSTANTS_H

#include "rocfft.h"
#include "rocfft/rocfft.h"

#include <stdexcept>

Expand Down
2 changes: 1 addition & 1 deletion clients/tests/unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#include "rocfft.h"
#include "rocfft/rocfft.h"

#include "../../shared/concurrency.h"
#include "../../shared/environment.h"
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ group_num=false
manual_small_arg=false
manual_large_arg=false
build_address_sanitizer=false
build_freorg_bkwdcomp=true
build_freorg_bkwdcomp=false
solmap_data_folder=false

# #################################################
Expand Down
2 changes: 1 addition & 1 deletion shared/rocfft_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include "../shared/fft_params.h"
#include "../shared/gpubuf.h"
#include "rocfft.h"
#include "rocfft/rocfft.h"

// Return the string of the rocfft_status code
static std::string rocfft_status_to_string(const rocfft_status ret)
Expand Down

0 comments on commit a373877

Please sign in to comment.