Skip to content
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

cudf resolve nvcc 11.0 compiler crashes during codegen #9028

Conversation

robertmaynard
Copy link
Contributor

@robertmaynard robertmaynard commented Aug 12, 2021

When compiling with nvcc 11.0 any translation unit that uses arrow::AllocateBuffer or arrow::AllocateBitmap would cause a
compiler crash during codegen.

To avoid this issue we introduce a C++ shim between cudf/interop and arrow that does the arrow allocations for us.

When compiling with nvcc 11.0 any translation unit that uses
arrow::AllocateBuffer or arrow::AllocateBitmap would cause a
compiler crash durnig codegen.

To avoid this issue we introduce a C++ shim between cudf/interop
and arrow that does the arrow allocations for us.
@robertmaynard robertmaynard added bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Aug 12, 2021
@robertmaynard robertmaynard requested review from a team as code owners August 12, 2021 17:28
@github-actions github-actions bot added the CMake CMake build issue label Aug 12, 2021
Copy link
Contributor

@ttnghia ttnghia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this :)

cpp/src/interop/detail/arrow_allocator.cpp Outdated Show resolved Hide resolved
cpp/src/interop/detail/arrow_allocator.hpp Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 13, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.10@e3f35af). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head b45308c differs from pull request most recent head fe80637. Consider uploading reports for the commit fe80637 to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.10    #9028   +/-   ##
===============================================
  Coverage                ?   10.65%           
===============================================
  Files                   ?      114           
  Lines                   ?    19077           
  Branches                ?        0           
===============================================
  Hits                    ?     2033           
  Misses                  ?    17044           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3f35af...fe80637. Read the comment docs.

@harrism
Copy link
Member

harrism commented Aug 16, 2021

I assume the crash is fixed in more recent nvcc? If not, we should file an nvcc bug.

cpp/src/interop/detail/arrow_allocator.cpp Outdated Show resolved Hide resolved
cpp/src/interop/detail/arrow_allocator.cpp Outdated Show resolved Hide resolved
@robertmaynard
Copy link
Contributor Author

I assume the crash is fixed in more recent nvcc? If not, we should file an nvcc bug.

You are correct. nvcc 11.1 fixed the crash

@codereport
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 20ea823 into rapidsai:branch-21.10 Aug 17, 2021
@robertmaynard robertmaynard deleted the bug/correct_cuda_11.0_compilation branch August 17, 2021 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants