flashinfer.comm.trtllm_lamport_initialize_all¶
- flashinfer.comm.trtllm_lamport_initialize_all(buffer_0_ptr: int, buffer_1_ptr: int, buffer_2_ptr: int, size: int, dtype: dtype) None ¶
Initialize 3 lamport buffers by negative zero.
Parameters: - buffer_0_ptr: the pointer to the first buffer. - buffer_1_ptr: the pointer to the second buffer. - buffer_2_ptr: the pointer to the third buffer. - size: the size of the buffer. - dtype: the data type of the buffer.