Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gtests/ERROR_TEST errors when run in Debug (rapidsai#15317)
Fixes errors reported by `gtests/ERROR_TEST` when run with a Debug build. Both errors occur due to invalid stream usage. ``` [ RUN ] DebugAssert.cudf_assert_true libcudf was not built with stacktrace support. unknown file: Failure C++ exception with description "cudf_identify_stream_usage found unexpected stream!" thrown in the test body. [ RUN ] DebugAssertDeathTest.cudf_assert_false libcudf was not built with stacktrace support. /cudf/cpp/tests/error/error_handling_test.cu:112: Failure Death test: call_kernel() Result: threw an exception. Error msg: [ DEATH ] [ DEATH ] /cudf/cpp/tests/error/error_handling_test.cu:112:: Caught std::exception-derived exception escaping the death test statement. Exception message: cudf_identify_stream_usage found unexpected stream! ``` Fixes the test logic to use the correct stream. These tests are only built/run with a Debug build. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Bradley Dice (https://github.com/bdice) - Muhammad Haseeb (https://github.com/mhaseeb123) URL: rapidsai#15317
- Loading branch information