add missing copyright

This commit is contained in:
ljss 2025-03-01 18:24:24 +08:00
parent 3e123bc93c
commit b31bfe72a8
3 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,7 @@
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/flash_api.cpp
/******************************************************************************
* Copyright (c) 2024, Tri Dao.
******************************************************************************/
#include <torch/python.h>
#include <torch/nn/functional.h>

View File

@ -1,4 +1,7 @@
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/src/softmax.h
/******************************************************************************
* Copyright (c) 2024, Tri Dao.
******************************************************************************/
#pragma once

View File

@ -1,4 +1,7 @@
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/hopper/utils.h
/******************************************************************************
* Copyright (c) 2024, Tri Dao.
******************************************************************************/
#pragma once