Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
lancerts committed Apr 9, 2024
1 parent 73c9291 commit 3a4d783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/cuda/gelu_forward.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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 <math.h> OR #include <cmath>
Expand Down

0 comments on commit 3a4d783

Please sign in to comment.