You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When comparing list columns using CUDF_TEST_EXPECT_COLUMNS_EQUAL with print_all_differences set to true, any difference in the columns will cause a thrust error and crash with the following error:
terminate called after throwing an instance of 'thrust::system::system_error'
what(): CUDA free failed: cudaErrorLaunchFailure: unspecified launch failure
Aborted (core dumped)
Steps/Code to reproduce bug
In cpp/tests/reshape/byte_cast_tests.cpp change any byte in int16_expected's definition. Then add true as the third argument to the comparison on line 44 of the same file. This can be repeated with other tests, but this is the first and simplest case to recreate.
Expected behavior
The difference between to the two columns printed out without crashing and aborting the entire test suite.
Additional context
Error was traced to cpp/tests/utilities/column_utilities.cu:163 -- something to do with the conversion of the differences to an int32 column is causing the thrust failure. Commenting out lines 163 through 173 skips the thrust failure, but 164 through 173 still has the error.
The text was updated successfully, but these errors were encountered:
…ector with vectors of size 1 (#7382)
This is a fix for the problem that popped up in the bug #6364.
I debug this problem and discovered that thrust crashes only when the vector size is 1. There should not be any problem with the vector size, thus the bug should be due to something else. Finally, I found a fix for this: adding qualifiers `__host__ __device__` to the type transformer.
It really weird that without those qualifiers, there is runtime problem only when the vector size is 1.
Authors:
- Nghia Truong (@ttnghia)
Approvers:
- Mark Harris (@harrism)
- @nvdbaranec
- Conor Hoekstra (@codereport)
- Vukasin Milovanovic (@vuule)
URL: #7382
Describe the bug
When comparing list columns using
CUDF_TEST_EXPECT_COLUMNS_EQUAL
withprint_all_differences
set totrue
, any difference in the columns will cause a thrust error and crash with the following error:Steps/Code to reproduce bug
In
cpp/tests/reshape/byte_cast_tests.cpp
change any byte inint16_expected
's definition. Then addtrue
as the third argument to the comparison on line 44 of the same file. This can be repeated with other tests, but this is the first and simplest case to recreate.Expected behavior
The difference between to the two columns printed out without crashing and aborting the entire test suite.
Additional context
Error was traced to
cpp/tests/utilities/column_utilities.cu:163
-- something to do with the conversion of the differences to anint32
column is causing the thrust failure. Commenting out lines 163 through 173 skips the thrust failure, but 164 through 173 still has the error.The text was updated successfully, but these errors were encountered: