Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
tests/rolling/empty_input_test
(NVIDIA#11238)
This PR fixes a small bug in `tests/rolling/empty_input_test`, which inconsistently occurs at some unknown points, on some unknown machine configuration, in some unknown situations: ``` C++ exception with description "parallel_for failed: cudaErrorInvalidDeviceFunction: invalid device function" thrown in the test body. ``` The bug is subtle and is due to creating data columns in static variables. Since the static variables are initialized first upon program startup, the GPU memory hold by these variables may be allocated outside of `rmm`, leading to undefined behavior. Authors: - Nghia Truong (https://github.com/ttnghia) Approvers: - David Wendt (https://github.com/davidwendt) - MithunR (https://github.com/mythrocks) URL: rapidsai/cudf#11238
- Loading branch information