Updates for 3.1 (#932)
This commit is contained in:
@@ -450,7 +450,7 @@ private :
|
||||
CUTLASS_DEVICE
|
||||
void consumer_wait(uint32_t stage, uint32_t phase, ConsumerToken barrier_token) {
|
||||
if (barrier_token == BarrierStatus::WaitAgain) {
|
||||
consumer_wait(stage, phase);
|
||||
full_barrier_ptr_[stage].wait(phase);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -654,7 +654,7 @@ public :
|
||||
consumer_release(state.index());
|
||||
}
|
||||
|
||||
protected:
|
||||
private:
|
||||
FullBarrier *full_barrier_ptr_ = nullptr;
|
||||
EmptyBarrier *empty_barrier_ptr_ = nullptr;
|
||||
Params params_;
|
||||
@@ -976,6 +976,11 @@ public:
|
||||
++stage_;
|
||||
}
|
||||
|
||||
CUTLASS_DEVICE
|
||||
void advance() {
|
||||
++stage_;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
CUTLASS_DEVICE
|
||||
|
||||
Reference in New Issue
Block a user