mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 11:08:52 +00:00
Include the math.h file to get access to constants. (#99)
This commit is contained in:
@ -1,4 +1,6 @@
|
|||||||
#include "cuda_utils.cuh"
|
#include "cuda_utils.cuh"
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#include<math.h>
|
||||||
#include<stdint.h>
|
#include<stdint.h>
|
||||||
|
|
||||||
#define UNARY_OP(TYPENAME, FN_NAME, FUNC) \
|
#define UNARY_OP(TYPENAME, FN_NAME, FUNC) \
|
||||||
|
Reference in New Issue
Block a user