forked from NVIDIA/cccl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make NullType more convenient. - Allow explicit construction from any type to facilitate generic programming. A similar assignment operator already existed. - Make ==/!= operators into friend functions. This fixes compat with thrust::device_reference in testing code. * Make half_t and bfloat16_t device_reference compatible. thrust::device_reference does not compile when operator== is a member function. Changing to friend functions WAR the issue. * Allow conversion of double -> half_t/bfloat116_t. * Make half/bfloat16 wrapper ctors expliict. This should fix some ambiguous overload issues we're seeing on CI. * Add c2h::nosync_device_policy. * Add simple c2h::type_name utility. This is intended to help with Catch2's CAPTURE macro: ``` CAPTURE(c2h::type_name<KeyT>(), c2h::type_name<ValueT>); output on failure: c2h::type_name<KeyT>() := "h" c2h::type_name<ValueT>() := "N3cub25CUB_200300_600_700_800_NS8NullTypeE" ``` ABI demangling would be a nice improvement for later. * Improvements to c2h::cpu_timer. - Add macros that can be enabled using `-DC2H_DEBUG_TIMING`. - Add RAII scoped_cpu_timer + macro. - Increase precision of output from ms -> us. * Port DeviceSegmentedSort tests to catch2. * Address live-review feedback. * Use void-cast instead of cuda::std::ignore to WAR warnings. /home/coder/cccl/cub/test/catch2_segmented_sort_helper.cuh(503): error NVIDIA#174-D: expression has no effect * Add support for unstable sort, address review feedback. * Remove duplicate increment, leftover after while->for conversion. * Update CUB_IF_CONSTEXPR to _CCCL_IF_CONSTEXPR
- Loading branch information
1 parent
20a4866
commit e3758cf
Showing
14 changed files
with
2,073 additions
and
1,985 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.