From 3a4d7836334eaaf1371db41b684018cd0093e823 Mon Sep 17 00:00:00 2001 From: lancer Date: Tue, 9 Apr 2024 09:59:03 -0700 Subject: [PATCH] amend --- dev/cuda/gelu_forward.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/cuda/gelu_forward.cu b/dev/cuda/gelu_forward.cu index c795d1d..fad7be8 100644 --- a/dev/cuda/gelu_forward.cu +++ b/dev/cuda/gelu_forward.cu @@ -9,7 +9,7 @@ version 1 is naive port from CPU code to kernel */ /* -If encountering "error: identifier "M_PI" is undefined", add the following line to the top of the file: +If encountering "error: identifier "M_PI" is undefined", add the following lines to the top of the file: #define _USE_MATH_DEFINES #include OR #include