Skip to content

Commit b31bfe7

Browse files
committed
add missing copyright
1 parent 3e123bc commit b31bfe7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

csrc/flash_api.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/flash_api.cpp
2+
/******************************************************************************
3+
* Copyright (c) 2024, Tri Dao.
4+
******************************************************************************/
25

36
#include <torch/python.h>
47
#include <torch/nn/functional.h>

csrc/softmax.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/csrc/flash_attn/src/softmax.h
2+
/******************************************************************************
3+
* Copyright (c) 2024, Tri Dao.
4+
******************************************************************************/
25

36
#pragma once
47

csrc/utils.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// Adapted from https://github.com/Dao-AILab/flash-attention/blob/main/hopper/utils.h
2+
/******************************************************************************
3+
* Copyright (c) 2024, Tri Dao.
4+
******************************************************************************/
25

36
#pragma once
47

0 commit comments

Comments
 (0)