Skip to content

Remove batch pd code - Draft#525

Closed
Srihari-mcw wants to merge 20 commits intor-abishek:ar/device_memcpy_removalfrom
Srihari-mcw:batchpd_removal_files
Closed

Remove batch pd code - Draft#525
Srihari-mcw wants to merge 20 commits intor-abishek:ar/device_memcpy_removalfrom
Srihari-mcw:batchpd_removal_files

Conversation

@Srihari-mcw
Copy link
Copy Markdown
Collaborator

No description provided.

@Srihari-mcw Srihari-mcw changed the title Remove batch pd folders from src and include Remove batch pd code - Draft Nov 10, 2025
@Srihari-mcw Srihari-mcw marked this pull request as draft November 10, 2025 05:39
Srihari-mcw added a commit to Srihari-mcw/rpp that referenced this pull request Nov 21, 2025
* Separate color files into cpp and hpp

* Updates to build separately cpp files separately

* Updates to remove unnecessary changes in CMakeLists.txt

* Remove duplicate includes

* Geometric augmentation changes

* Add further changes for geometric augmentations

* Add changes for effects augmentation

* Further updates to move files

* Further updates to fix linker issues

* Add commit for arithmetic operation split up

* Separate into cpp and hpp files for statistical operations

* Separate into cpp and hpp files for audio and logical operations

* Separate the code into cpp and hpp files for data exchange operations

* Update the code to separate out common header functions for batch pd and in general

* Further changes to separate out batch pd host code and updated host code

* Fix compiler issues

* Add updates to have header files with common functions

* Move another common function

* Move template functions to respective header files

* Remove rpp_cpu_simd.hpp header

* Disable batch pd host code build

* Update code for new kernels

* Pull in latest changes in rpp_cpu_common.hpp

* Fix compiler issues

* Initial cleanup until normalize

* Cleanup normalize.hpp

* Cleanup and update templates until resize

* Cleanup and updated templated code until water

* Split slice into hpp and cpp

* Add initial updates for spatter

* Restore spatter_mask.hpp

* Update variables to be inline for spatter_mask.hpp

* Fix linker issues for normalize

* Update batch pd code to clean up unused constants

* Updates for compiler fix

* Updates RPPFLOOR inside rpp_cpu_common_geometric.hpp

* Restore RPPINRANGE

* Restore RPPINLESSER

* Replace RPPFLOOR with std::floor

* Enable batch pd code build

* Move common functions to hip and host for spectrogram_helper

* Remove unwanted token after endif

* Add helper function for spectrogram

* Add power function back into batch pd code

* Separate rpp_cpu_simd into rpp_cpu_simd_math.hpp

* Update code for rpp_cpu_simd_math.hpp

* Remove redundant declarations

* Include rpp_cpu_simd.hpp inside rpp_cpu_simd_math.hpp

* Move xmm_p1op255

* Remove unused macros

* Update spectogram code

* Update CMakelists.txt to fix linker issues

* Update get_idx_reflect function

* Update and remove redundant headers

* Add rpp_cpu_common_random.h in header for further testing

* Update and remove unwanted code imports

* Update to have inline variable inside rng_seed_stream.hpp

* Update HIP Build Parallelization

* Update HIP header imports

* Rename bitwise_AND.cpp to bitwise_and.cpp

* Make changes for bitwise_xor to parallelize build

* Fix linker issues with bitwise_xor

* Some cleanup in rpp_cpu_common files

* Cleanup in some common files

* Remove redundant includes

* Further code cleanup

* Rename rpp_cpu_filter.hpp to rpp_cpu_common_filter.hpp

* Updates for hip batch pd separation

* Move further files into batch_pd folder from hip folder

* Move batch pd code to separate folder for HOST

* Update code inside kernel folder

* Isolate rpp_cpu_simd with rpp_cpu_simd_math

* Isolate code further for cpu_simd

* Migrate code for HorMin and HorMax

* Rename rpp_cpu_simd.hpp to rpp_cpu_simd_load_store.hpp

* Fix compilation issues

* Divide hip common files into categories

* Fix hip compilation issues

* Move rppi_validate.hpp

* Move files to respective folders for isolation

* Further migration of files into include folder

* Update to relative paths

* Update paths for hip common files

* Remove relative paths of files

* Add batch pd header folder in hip

* Move rpp_hip_host_decls.hpp to batch_pd

* Remove additional depedencies from rpp_cpu_simd_math.hpp

* Rename header from rpp_hip_common.hpp to rpp_hip_common_load_store.hpp

* Move range check functions to rpp_hip_common_load_store.hpp

* Remove dependencies of rpp_hip_common_misc.hpp

* Move files to have cpp files under batch_pd folder or tensor folder

* Fix cmake issues

* Move func_specific files to tensor folder inside include

* Move opencl include dependencies

* Move files to batch_pd folder inside src/include

* Move tensor cpu header files into include/cpu folder

* Fix issues with tensor/cpu includes

* Update the code to move hip tensor includes inside include/hip folder

* Update the code to move cpu batch_pd includes inside include/batch_pd/cpu folder

* Fix build issues

* Move batch pd include folder into batch_pd/hip

* Avoid math function redefinition errors

* Make updates to move the common files to common folder

* Update missed updates for rpp_cpu_simd_math.hpp

* Make changes for moving files from rpp folder to hip and cl parent folders inside include

* Make updates for rppdefs.h include

* OpenCL fixes

* Remove unwanted includes

* Changes in CMakeLists.txt to fix opencl test suite issues

* Updates to rename rpp/include folder to rpp/api folder

* Further changes to rename include to api folder

* Further naming changes from include to api

* Move rpp folder inside common folder

* Move files from func_specific to tensor

* Rename common files partially

* Rename rpp_cpu_common_interpolation.hpp to rpp_cpu_interpolation.hpp

* Rename rpp_cpu_common_random to rpp_cpu_random.hpp

* Rename rpp_cpu_common_interpolation.hpp to rpp_cpu_interpolation.hpp

* Updates for rpp_hip_common_random.hpp to rpp_hip_random.hpp

* Rename rpp_hip_common_load_store.hpp to rpp_hip_load_store.hpp

* Rename rpp_hip_common_math.hpp to rpp_hip_math.hpp

* Updates to move .in files to batch_pd folder

* Rename hip_tensor_logical_operations.hpp to hip_tensor_bitwise_operations.hpp in imports

* Add missing semicolon

* Add license details for common files and add comments for macro

* Update comments for file guards for hip common files

* Update comments for mask files

* Further update the header guards

* Have effects_dims in a separate file

* Import effects_dims.hpp in spatter.cpp for hip kernel also

* Import spatter_mask again spatter.cpp

* Remove inlining of rngSeedStream4050

* Restore inlining of rngSeedStream4050

* Remove unnecessary additional lines from tensor and common code

* Remove unnecessary additional lines from tensor and common code

* Add licensing details for multiple cpp kernel files

* Add line at end of file

* Add further empty line at end of file

* Add further empty line at end of files

* Remove unnecessary whitespaces

* Remove src/include/hip folder

* Fix accuracy issues due to -mno-fma flag

* Changes to use -mno-fma for specific files as a custom function

* Change third_party folder location

* Remove export.h

* Remove filesystem.h file and consolidate in rpp.h

* Add initial hip/host tensor executors headers

* Move rppi_validate.hpp to common folder

* Move rppt_api_helpers.hpp to src/include/tensor folder

* Combine reduction.hpp and effects_dims.hpp to kernel_dims.hpp

* Change rppt_api_helpers.hpp to api_helpers.hpp

* Changes to consolidate effects and geometric augmentation headers into hip_tensor_executors.hpp and host_tensor_executors.hpp

* Updates for bitwise operations

* Updates for color augmentations

* Updates for data exchange operations

* Updates for filter augmentations

* Updates for morphological operations

* Minor cleanup

* Add updates for statistical operations

* Remove unwanted files

* Import host_tensor_executors instead of category hpp files

* Import hip_tensor_executors.hpp instead of hip_tensor_arithmetic_operations.hpp

* Import host_tensor_executors for flip_voxel

* Move executors to root folder

* Remove unwanted folders from CMakeLists.txt

---------

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
@r-abishek
Copy link
Copy Markdown
Owner

All in #532

@r-abishek r-abishek closed this Dec 2, 2025
ManasaDattaT pushed a commit to ManasaDattaT/rpp that referenced this pull request Dec 19, 2025
* Separate color files into cpp and hpp

* Updates to build separately cpp files separately

* Updates to remove unnecessary changes in CMakeLists.txt

* Remove duplicate includes

* Geometric augmentation changes

* Add further changes for geometric augmentations

* Add changes for effects augmentation

* Further updates to move files

* Further updates to fix linker issues

* Add commit for arithmetic operation split up

* Separate into cpp and hpp files for statistical operations

* Separate into cpp and hpp files for audio and logical operations

* Separate the code into cpp and hpp files for data exchange operations

* Update the code to separate out common header functions for batch pd and in general

* Further changes to separate out batch pd host code and updated host code

* Fix compiler issues

* Add updates to have header files with common functions

* Move another common function

* Move template functions to respective header files

* Remove rpp_cpu_simd.hpp header

* Disable batch pd host code build

* Update code for new kernels

* Pull in latest changes in rpp_cpu_common.hpp

* Fix compiler issues

* Initial cleanup until normalize

* Cleanup normalize.hpp

* Cleanup and update templates until resize

* Cleanup and updated templated code until water

* Split slice into hpp and cpp

* Add initial updates for spatter

* Restore spatter_mask.hpp

* Update variables to be inline for spatter_mask.hpp

* Fix linker issues for normalize

* Update batch pd code to clean up unused constants

* Updates for compiler fix

* Updates RPPFLOOR inside rpp_cpu_common_geometric.hpp

* Restore RPPINRANGE

* Restore RPPINLESSER

* Replace RPPFLOOR with std::floor

* Enable batch pd code build

* Move common functions to hip and host for spectrogram_helper

* Remove unwanted token after endif

* Add helper function for spectrogram

* Add power function back into batch pd code

* Separate rpp_cpu_simd into rpp_cpu_simd_math.hpp

* Update code for rpp_cpu_simd_math.hpp

* Remove redundant declarations

* Include rpp_cpu_simd.hpp inside rpp_cpu_simd_math.hpp

* Move xmm_p1op255

* Remove unused macros

* Update spectogram code

* Update CMakelists.txt to fix linker issues

* Update get_idx_reflect function

* Update and remove redundant headers

* Add rpp_cpu_common_random.h in header for further testing

* Update and remove unwanted code imports

* Update to have inline variable inside rng_seed_stream.hpp

* Update HIP Build Parallelization

* Update HIP header imports

* Rename bitwise_AND.cpp to bitwise_and.cpp

* Make changes for bitwise_xor to parallelize build

* Fix linker issues with bitwise_xor

* Some cleanup in rpp_cpu_common files

* Cleanup in some common files

* Remove redundant includes

* Further code cleanup

* Rename rpp_cpu_filter.hpp to rpp_cpu_common_filter.hpp

* Updates for hip batch pd separation

* Move further files into batch_pd folder from hip folder

* Move batch pd code to separate folder for HOST

* Update code inside kernel folder

* Isolate rpp_cpu_simd with rpp_cpu_simd_math

* Isolate code further for cpu_simd

* Migrate code for HorMin and HorMax

* Rename rpp_cpu_simd.hpp to rpp_cpu_simd_load_store.hpp

* Fix compilation issues

* Divide hip common files into categories

* Fix hip compilation issues

* Move rppi_validate.hpp

* Move files to respective folders for isolation

* Further migration of files into include folder

* Update to relative paths

* Update paths for hip common files

* Remove relative paths of files

* Add batch pd header folder in hip

* Move rpp_hip_host_decls.hpp to batch_pd

* Remove additional depedencies from rpp_cpu_simd_math.hpp

* Rename header from rpp_hip_common.hpp to rpp_hip_common_load_store.hpp

* Move range check functions to rpp_hip_common_load_store.hpp

* Remove dependencies of rpp_hip_common_misc.hpp

* Move files to have cpp files under batch_pd folder or tensor folder

* Fix cmake issues

* Move func_specific files to tensor folder inside include

* Move opencl include dependencies

* Move files to batch_pd folder inside src/include

* Move tensor cpu header files into include/cpu folder

* Fix issues with tensor/cpu includes

* Update the code to move hip tensor includes inside include/hip folder

* Update the code to move cpu batch_pd includes inside include/batch_pd/cpu folder

* Fix build issues

* Move batch pd include folder into batch_pd/hip

* Avoid math function redefinition errors

* Make updates to move the common files to common folder

* Update missed updates for rpp_cpu_simd_math.hpp

* Make changes for moving files from rpp folder to hip and cl parent folders inside include

* Make updates for rppdefs.h include

* OpenCL fixes

* Remove unwanted includes

* Changes in CMakeLists.txt to fix opencl test suite issues

* Updates to rename rpp/include folder to rpp/api folder

* Further changes to rename include to api folder

* Further naming changes from include to api

* Move rpp folder inside common folder

* Move files from func_specific to tensor

* Rename common files partially

* Rename rpp_cpu_common_interpolation.hpp to rpp_cpu_interpolation.hpp

* Rename rpp_cpu_common_random to rpp_cpu_random.hpp

* Rename rpp_cpu_common_interpolation.hpp to rpp_cpu_interpolation.hpp

* Updates for rpp_hip_common_random.hpp to rpp_hip_random.hpp

* Rename rpp_hip_common_load_store.hpp to rpp_hip_load_store.hpp

* Rename rpp_hip_common_math.hpp to rpp_hip_math.hpp

* Updates to move .in files to batch_pd folder

* Rename hip_tensor_logical_operations.hpp to hip_tensor_bitwise_operations.hpp in imports

* Add missing semicolon

* Add license details for common files and add comments for macro

* Update comments for file guards for hip common files

* Update comments for mask files

* Further update the header guards

* Have effects_dims in a separate file

* Import effects_dims.hpp in spatter.cpp for hip kernel also

* Import spatter_mask again spatter.cpp

* Remove inlining of rngSeedStream4050

* Restore inlining of rngSeedStream4050

* Remove unnecessary additional lines from tensor and common code

* Remove unnecessary additional lines from tensor and common code

* Add licensing details for multiple cpp kernel files

* Add line at end of file

* Add further empty line at end of file

* Add further empty line at end of files

* Remove unnecessary whitespaces

* Remove src/include/hip folder

* Fix accuracy issues due to -mno-fma flag

* Changes to use -mno-fma for specific files as a custom function

* Change third_party folder location

* Remove export.h

* Remove filesystem.h file and consolidate in rpp.h

* Add initial hip/host tensor executors headers

* Move rppi_validate.hpp to common folder

* Move rppt_api_helpers.hpp to src/include/tensor folder

* Combine reduction.hpp and effects_dims.hpp to kernel_dims.hpp

* Change rppt_api_helpers.hpp to api_helpers.hpp

* Changes to consolidate effects and geometric augmentation headers into hip_tensor_executors.hpp and host_tensor_executors.hpp

* Updates for bitwise operations

* Updates for color augmentations

* Updates for data exchange operations

* Updates for filter augmentations

* Updates for morphological operations

* Minor cleanup

* Add updates for statistical operations

* Remove unwanted files

* Import host_tensor_executors instead of category hpp files

* Import hip_tensor_executors.hpp instead of hip_tensor_arithmetic_operations.hpp

* Import host_tensor_executors for flip_voxel

* Move executors to root folder

* Remove unwanted folders from CMakeLists.txt

---------

Co-authored-by: Srihari-mcw <srihari@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants