Add support for Windows compilation
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
#include <cuda_fp16.h>
|
#include <cuda_fp16.h>
|
||||||
#include <cuda_runtime.h>
|
#include <cuda_runtime.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define uint unsigned int
|
||||||
|
#endif
|
||||||
|
|
||||||
constexpr int kWarpSize = 32;
|
constexpr int kWarpSize = 32;
|
||||||
#define opmath_t at::opmath_type<scalar_t>
|
#define opmath_t at::opmath_type<scalar_t>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user