CUTLASS 3.4.0 (#1286)
* CUTLASS 3.4.0 * Update CHANGELOG.md --------- Co-authored-by: Pradeep Ramani <prramani@nvidia.com>
This commit is contained in:
co-authored by
Pradeep Ramani
parent
b7508e3379
commit
8236f30675
@@ -68,7 +68,7 @@ template <
|
||||
struct NamedBarrierSync {
|
||||
CUTLASS_DEVICE
|
||||
static void sync() {
|
||||
cutlass::arch::NamedBarrier::sync(ThreadCount, BarrierId);
|
||||
cutlass::arch::NamedBarrier::sync(ThreadCount, static_cast<arch::ReservedNamedBarriers>(BarrierId));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -227,9 +227,9 @@ template <
|
||||
uint32_t MaxNumNamedBarriers = 16
|
||||
>
|
||||
struct NamedBarrierManager {
|
||||
static constexpr uint32_t HardwareMaxNumNamedBarriers = 16;
|
||||
static_assert(MaxNumNamedBarriers <= HardwareMaxNumNamedBarriers);
|
||||
static_assert(MaxNumNamedBarriers + Offset <= HardwareMaxNumNamedBarriers, "Barrier IDs cannot exceed 15");
|
||||
|
||||
static_assert(MaxNumNamedBarriers <= arch::NamedBarrier::HardwareMaxNumNamedBarriers);
|
||||
static_assert(MaxNumNamedBarriers + Offset <= arch::NamedBarrier::HardwareMaxNumNamedBarriers, "Barrier IDs cannot exceed 15");
|
||||
|
||||
// Number of threads participating in the barrier
|
||||
static constexpr uint32_t ThreadCount = ThreadCount_;
|
||||
|
||||
Reference in New Issue
Block a user