| 40 | ~Softmax() {} |
| 41 | |
| 42 | void Forward(int bsz, T* vals, const T* attn_mask, cudaStream_t& stream) |
| 43 | { |
| 44 | launch_attn_softmax<T>(vals, attn_mask, bsz, config_.heads, config_.seq_length, stream); |
| 45 | } |
| 46 | |
| 47 | void Backward(int bsz, T* out_grad, const T* soft_out, cudaStream_t stream) |
| 48 | { |
nothing calls this directly
no outgoing calls
no test coverage detected