Skip to content

Commit 9fcc4d8

Browse files
committed
[skip ci]
1 parent 7134d45 commit 9fcc4d8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/building.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [ubuntu-16.04, macos-10.15, windows-latest]
13+
# os: [ubuntu-16.04, macos-10.15, windows-latest]
14+
os: [windows-latest]
1415
python-version: [3.6, 3.7, 3.8, 3.9]
1516
torch-version: [1.8.0, 1.9.0]
1617
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']

csrc/cuda/utils.cuh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
AT_ASSERTM(x.device().is_cuda(), #x " must be CUDA tensor")
77
#define CHECK_INPUT(x) AT_ASSERTM(x, "Input mismatch")
88

9+
#ifndef _WIN32
910
__device__ __inline__ at::Half __shfl_sync(const unsigned mask,
1011
const at::Half var,
1112
const unsigned int srcLane) {
1213
return __shfl_sync(mask, (__half)var, srcLane);
1314
}
15+
#endif
1416

1517
__device__ __inline__ at::Half __shfl_down_sync(const unsigned mask,
1618
const at::Half var,

0 commit comments

Comments
 (0)