Skip to content

Commit

Permalink
Use CUTLASS_GCC_UNREACHABLE instead where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
joeatodd committed Dec 9, 2024
1 parent a9f823c commit 00dfb05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/cutlass/arch/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#pragma once

#include "cutlass/cutlass.h"
#include "cutlass/platform/platform.h"

////////////////////////////////////////////////////////////////////////////////////////////////////

Expand All @@ -51,7 +52,7 @@ int LaneId() {
asm ("mov.u32 %0, %%laneid;" : "=r"(ret) : );
return ret;
#else
CUTE_GCC_UNREACHABLE;
CUTLASS_GCC_UNREACHABLE;
#endif
}

Expand All @@ -63,7 +64,7 @@ int SmId() {
asm ("mov.u32 %0, %%smid;" : "=r"(ret) : );
return ret;
#else
CUTE_GCC_UNREACHABLE;
CUTLASS_GCC_UNREACHABLE;
#endif
}

Expand Down

0 comments on commit 00dfb05

Please sign in to comment.