mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Tweak the include order to include math.h first. (#100)
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#include "cuda_utils.cuh"
|
|
||||||
#define _USE_MATH_DEFINES
|
#define _USE_MATH_DEFINES
|
||||||
#include<math.h>
|
#include<math.h>
|
||||||
#include<stdint.h>
|
#include<stdint.h>
|
||||||
|
#include "cuda_utils.cuh"
|
||||||
|
|
||||||
#define UNARY_OP(TYPENAME, FN_NAME, FUNC) \
|
#define UNARY_OP(TYPENAME, FN_NAME, FUNC) \
|
||||||
extern "C" __global__ void FN_NAME( \
|
extern "C" __global__ void FN_NAME( \
|
||||||
|
Reference in New Issue
Block a user