Fix static_assert string literal that contains a "\%". This is no longer (#860)
valid. They can only be simple escape sequences. Removing '\' fixes issue. Assert message now compiles and emits the '%' as expected.
Этот коммит содержится в:
@@ -64,7 +64,7 @@ struct mscclThreadBlock {
|
||||
int16_t channelId; // associated channel. -1 indicates a thread block with only local copies
|
||||
}; // 5384 bytes
|
||||
|
||||
static_assert(sizeof(struct mscclThreadBlock) % sizeof(uint64_t) == 0, "Sanity check: sizeof(struct mscclThreadBlock) \% sizeof(uint64_t) != 0");
|
||||
static_assert(sizeof(struct mscclThreadBlock) % sizeof(uint64_t) == 0, "Sanity check: sizeof(struct mscclThreadBlock) % sizeof(uint64_t) != 0");
|
||||
|
||||
struct mscclFlag {
|
||||
uint64_t flag;
|
||||
|
||||
Ссылка в новой задаче
Block a user