We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8875a02 commit acbc0b0Copy full SHA for acbc0b0
src/bcast/file_bcast.h
@@ -40,10 +40,10 @@
40
#include "src/common/macros.h"
41
#include "src/common/slurm_protocol_defs.h"
42
43
-#define BCAST_FLAG_FORCE 0x0001
44
-#define BCAST_FLAG_PRESERVE 0x0002
45
-#define BCAST_FLAG_SEND_LIBS 0x0004
46
-#define BCAST_FLAG_SHARED_OBJECT 0x0008
+#define BCAST_FLAG_FORCE SLURM_BIT(0)
+#define BCAST_FLAG_PRESERVE SLURM_BIT(1)
+#define BCAST_FLAG_SEND_LIBS SLURM_BIT(2)
+#define BCAST_FLAG_SHARED_OBJECT SLURM_BIT(3)
47
48
struct bcast_parameters {
49
uint32_t block_size;
0 commit comments