Skip to content

Commit

Permalink
Revert 1 commits
Browse files Browse the repository at this point in the history
9791726 'Use brkpt() when targeting Nvidia hardware w/ SYCL'
  • Loading branch information
joeatodd committed Dec 16, 2024
1 parent 9791726 commit 6fedc6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/cute/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
#define CUTE_STATIC_ASSERT_V(x,...) static_assert(decltype(x)::value, ##__VA_ARGS__)

// Fail and print a message. Typically used for notification of a compiler misconfiguration.
#if defined(__CUDA_ARCH__) || defined(__SYCL_CUDA_ARCH__)
#if defined(__CUDA_ARCH__)
# define CUTE_INVALID_CONTROL_PATH(x) assert(0 && x); printf(x); __brkpt()
#elif defined(__has_builtin) && __has_builtin(__builtin_unreachable)
# define CUTE_INVALID_CONTROL_PATH(x) assert(0 && x); printf(x); __builtin_unreachable()
Expand Down
2 changes: 1 addition & 1 deletion include/cutlass/platform/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
#endif

// Fail and print a message. Typically used for notification of a compiler misconfiguration.
#if defined(__CUDA_ARCH__) || defined(__SYCL_CUDA_ARCH__)
#if defined(__CUDA_ARCH__)
# define CUTLASS_INVALID_CONTROL_PATH(x) assert(0 && x); printf(x); __brkpt()
#elif defined(__has_builtin) && __has_builtin(__builtin_unreachable)
# define CUTLASS_INVALID_CONTROL_PATH(x) assert(0 && x); printf(x); __builtin_unreachable()
Expand Down

0 comments on commit 6fedc6a

Please sign in to comment.