-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit testing to verify that algorithms work with hipGraphs #478
Commits on Nov 19, 2023
-
* Add basic tests for graph creation, instantiation, and execution using: * stream capture * manual construction
Configuration menu - View commit details
-
Copy full SHA for f4e5cf1 - Browse repository at this point
Copy the full SHA f4e5cf1View commit details -
hipGraph test for device_reduce algorithms
* Added new unit tests for device_reduce, device_reduce_by_key algorithms to verify basic support for hipGraphs (no synchronous API functions are called within the algorithms). * Fixed up CMakeLists compile issue for tests in the test/hipgraph folder * Updated code documentation
Configuration menu - View commit details
-
Copy full SHA for 134647d - Browse repository at this point
Copy the full SHA 134647dView commit details -
Add hipGraph unit tests for device level algorithms
* Added unit tests that run the following algorithms inside of a graph (in isolation): - device_adjacent_difference - device_binary_search - device_histogram - device_merge - device_merge_sort - device_partition - device_radix_sort - device_scan - device_segmented_reduce - device_segmented_scan - device_select - device_transform * Updated existing tests for: - device_reduce - device_reduce_by_key * Moved graph test helper functions to a separate file
Configuration menu - View commit details
-
Copy full SHA for 67aa806 - Browse repository at this point
Copy the full SHA 67aa806View commit details -
* Added remaining device level hipGraph unit tests * Note: currently, there are two device level algorithms that do no work with hipGraphs because they contain synchronization barriers. No hipGraph unit tests have been added for these algorithms: * device_run_length_encode * device_segmented_radix_sort * Added a functional integration test for hipGraphs, which runs several algorithms back-to-back within a graph. * Refactored test helper code to remove unnecessary parameter
Configuration menu - View commit details
-
Copy full SHA for e8a9c0f - Browse repository at this point
Copy the full SHA e8a9c0fView commit details -
Set hipgraph test pointers to nullptr
* Set key_type device pointers to nullptr when they are declared, for safety.
Configuration menu - View commit details
-
Copy full SHA for 46d1f7c - Browse repository at this point
Copy the full SHA 46d1f7cView commit details -
Several minor fixes for hipGraph tests
* Fixed up spelling error in comments * Moved call to hipGetLastError to a more appropriate position * Removed old commented test code
Configuration menu - View commit details
-
Copy full SHA for 7842204 - Browse repository at this point
Copy the full SHA 7842204View commit details -
Minor fixes for hipgraph unit tests
* Moved several synchronization barriers so they are now outside of graph capture blocks in the test_device_partition source * Changed several loop counters to unsigned type * Updatedpgraph cmake files - removed test/hipgraph directory's CMakeLists.txt
Configuration menu - View commit details
-
Copy full SHA for 600509e - Browse repository at this point
Copy the full SHA 600509eView commit details -
Additional test and bugfix for hipgraph tests
* Removed syncrhonization barrier in test_device_scan * Added basic test to exercise atomic function within a hipgraph * Rebased and resolved merge conflicts
Configuration menu - View commit details
-
Copy full SHA for 8ad9df2 - Browse repository at this point
Copy the full SHA 8ad9df2View commit details