Affiliations
Projects
Maintains
Contributes to
1,474 commitssource: github.com ↗✓ verified
102 commitssource: github.com ↗✓ verified
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[libcu++] Rename the `interface` members of `__basic_any`
Description defines interface as a macro, so the prologue pushes and pops it around every libcu++ header. Its only users are internal to __basic_any. This PR renames the nested interface aliases to interface_type, which __basic_any already…
CCCL (Thrust, CUB, libcudacxx)#12702 · by miscco - Merged PRUse `#ifdef X` instead of `#if defined(X)`
Description Part of #12535 #ifdef X is cheaper for the preprocessor than #if defined(X). This rewrites every single-condition #if defined(X) in the product code of libcu++, CUB, Thrust, cudax, and the C parallel library to #ifdef X, and…
CCCL (Thrust, CUB, libcudacxx)#12666 · by miscco - Merged PR[Thrust] Parenthesize all calls of `min` and `max`
Description defines min and max as function-like macros unless NOMINMAX is defined. Thrust headers are not wrapped by the prologue, and CCCL's CMake defines NOMINMAX for MSVC, so CI does not catch unparenthesized calls. This PR…
CCCL (Thrust, CUB, libcudacxx)#12701 · by miscco - Merged PR[CUB] Parenthesize all calls of `min` and `max`
Description defines min and max as function-like macros unless NOMINMAX is defined. CUB headers are not wrapped by the prologue, and while many calls are already parenthesized, e.g. (::cuda::std::min)(a, b), others are not. CCCL's CMake…
CCCL (Thrust, CUB, libcudacxx)#12700 · by miscco - Merged PR[libcu++] Add `cuda::min`, `cuda::max` and `cuda::clamp`
Description closes #12510 cuda::std::min, cuda::std::max and cuda::std::clamp must take their arguments by reference and return a reference to one of them, so we cannot change them the way the first version of this PR did. Instead, this…
CCCL (Thrust, CUB, libcudacxx)#12512 · by miscco - Merged PR[libcu++] Restore `bit_cast` fallbacks for `numeric_limits::infinity()` and `quiet_NaN()`
Description closes #12648 nvc++ 23.11 enables __float128 for host compilation, but does not provide __builtin_huge_valf128 and __builtin_nanf128. #11759 removed the bit_cast fallbacks of numeric_limits ::infinity() and quiet_NaN(), so…
CCCL (Thrust, CUB, libcudacxx)#12650 · by miscco - Merged PR[libcu++] Move builtins with a single user out of `builtin.h`
Description Part of #12535 Every libcu++ header includes through , so every translation unit evaluates all of its builtin checks, whether it uses the builtins or not. This moves the 25 builtins that only a single header uses into that…
CCCL (Thrust, CUB, libcudacxx)#12655 · by miscco - Merged PR[libcu++] Add machinery for iterator unwrapping
Summary Adds machinery so that cuda::std::copy, move, sort and friends can unwrap fancy iterators (adaptors such as transform_iterator, and thrust pointers) to their underlying contiguous storage, perform the operation on raw pointers, and…
CCCL (Thrust, CUB, libcudacxx)#12418 · by miscco - Merged PR[CUB] Refactor `BlockLoadDirectVectorized`
We have an internal helper function that unfortunately is public. To simplify further refactorings we deprecate InternalLoadDirectBlockedVectorized in favor of LoadDirectBlockedVectorized, which now contains the alignment check and the…
CCCL (Thrust, CUB, libcudacxx)#12327 · by miscco - Merged PR[CUB] Load 32 byte words with `LOAD_LDG` in `ThreadLoad`
Description closes ThreadLoad loads types with a PTX cache modifier in words of their alignment, of at most 16 bytes. With LOAD_LDG, types aligned to 32 bytes are now loaded in 32 byte words. On sm_100 and newer this is a single…
CCCL (Thrust, CUB, libcudacxx)#12597 · by miscco - Merged PR[libcu++] Implement `<cuda/std/ratio>` with constant evaluated functions
Description The implementation of was based on the C++03 libc++ one and computed everything through recursive class templates (__static_gcd, __ll_add, __ll_mul, __ratio_less1, ...), which instantiated dozens of class templates for every…
CCCL (Thrust, CUB, libcudacxx)#12571 · by miscco - Merged PR[libcu++] Remove `type_list_operations` from public header
Description Part of #12057 type_list_operations.h only contains implementation details, but includes it, so everyone who includes pays for it. In the experiment from #12057, this header alone contributes about 23% to the NVRTC compile…
CCCL (Thrust, CUB, libcudacxx)#12507 · by miscco - Merged PR[libcu++] Reduce type_list unroll limit for NVRTC
There is an implementation issue with nested dependent member template-ids This leads to large compile time regressions with type_list
CCCL (Thrust, CUB, libcudacxx)#12560 · by miscco - Merged PR[CUB] Use `alignof(T)` to check for vectorization in agent_find
Using sizeof(T) is a clear pessimization. We should always check the alignment as in all other algorithms that vectorize
CCCL (Thrust, CUB, libcudacxx)#12423 · by miscco - Merged PR[CUB] Add machinery for striped vectorized loads
Description This adds machinery for striped vectorized loads to CUB. There are multiple places where we need to load vectors in a striped arrangement, for example in DeviceReduce, DeviceFind and the vectorized DeviceTransform kernel.…
CCCL (Thrust, CUB, libcudacxx)#12422 · by miscco