-
Notifications
You must be signed in to change notification settings - Fork 167
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
Fix issues that came up with building cuDF with main #1643
Conversation
0330422
to
aebae6f
Compare
libcudacxx/include/cuda/__memory_resource/cuda_pinned_memory_resource.h
Outdated
Show resolved
Hide resolved
aebae6f
to
efc14e7
Compare
cuda_pinned_memory_resource.h
efc14e7
to
a94885d
Compare
bbb4c49
to
3814b65
Compare
f6bf8d5
to
ec4e698
Compare
9226cc3
to
31a334a
Compare
76b9784
to
be5ddf7
Compare
…tional until we get `<algorithm>`
be5ddf7
to
bc342df
Compare
bc342df
to
3cc958f
Compare
3cc958f
to
fe3a98b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know the full context for all of these changes but they look fine from what I know. Thanks!
// The maximum amount of static shared memory available per thread block | ||
// Note that in contrast to dynamic shared memory, static shared memory is still limited to 48 KB | ||
static constexpr std::size_t max_smem_per_block = 48 * 1024; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know that, interesting!
Suggestion: you may want to add a pointer to the documentation confirming that. I found this on the web: https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#shared-memory-7-x
Question: is there a way (and if there was should) we could statically assert that this is still the case?
template <class T, class U> | ||
using pair = ::cuda::std::pair<T, U>; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just fell over this again because of a doxygen issue and now wonder, why didn't you just pull pair
into the thrust
namespace without creating an alias? Like:
using _CUDA_VSTD::pair;
This works with CTAD and passes the unit tests.
We need
cuda_runtime.h
for the C++cudaMallocHost
and notcuda_runtime_api.h