Skip to content

Commit 493f96a

Browse files
committed
Fix CUDA/MUSA build: define GGML_WARP_SYNC_MASK in common.cuh
1 parent e09f319 commit 493f96a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml-cuda/common.cuh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
#include "vendors/cuda.h"
3636
#endif // defined(GGML_USE_HIP)
3737

38+
#ifndef GGML_WARP_SYNC_MASK
39+
#define GGML_WARP_SYNC_MASK 0xffffffff
40+
#endif
41+
3842
#define STRINGIZE_IMPL(...) #__VA_ARGS__
3943
#define STRINGIZE(...) STRINGIZE_IMPL(__VA_ARGS__)
4044

0 commit comments

Comments
 (0)