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 9466cbd commit f4203caCopy full SHA for f4203ca
flang-rt/include/flang-rt/runtime/terminator.h
@@ -118,7 +118,7 @@ RT_API_ATTRS void NotifyOtherImagesOfErrorTermination();
118
119
#if defined(RT_DEVICE_COMPILATION)
120
/// Trap the execution on the device.
121
-[[noreturn]] void RT_API_ATTRS DeviceTrap() {
+[[noreturn]] static inline void RT_API_ATTRS DeviceTrap() {
122
#if defined(__CUDACC__)
123
// NVCC supports __trap().
124
__trap();
0 commit comments