From b31bfe72a83ea205467b3271a5845440a03ed7cb Mon Sep 17 00:00:00 2001 From: ljss <450993438@qq.com> Date: Sat, 1 Mar 2025 18:24:24 +0800 Subject: [PATCH] add missing copyright --- csrc/flash_api.cpp | 3 +++ csrc/softmax.h | 3 +++ csrc/utils.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/csrc/flash_api.cpp b/csrc/flash_api.cpp index d2567fe..9015735 100644 --- a/csrc/flash_api.cpp +++ b/csrc/flash_api.cpp @@ -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 #include diff --git a/csrc/softmax.h b/csrc/softmax.h index 4ab6ae9..17e293a 100644 --- a/csrc/softmax.h +++ b/csrc/softmax.h @@ -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 diff --git a/csrc/utils.h b/csrc/utils.h index 3b8dd52..50295f7 100644 --- a/csrc/utils.h +++ b/csrc/utils.h @@ -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