std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda_attention

Function std::cuda_half_linear_attention

#include <std/ml/gpu_cuda_attention.h> source ยท definition

int cuda_half_linear_attention(
    struct CudaHalfBuf q,
    struct CudaHalfBuf k,
    struct CudaHalfBuf v,
    struct CudaHalfBuf out,
    struct CudaAttnShape s,
    int causal,
)