Skip to content

Commit a6c2bb3

Browse files
ContributorAtomCode (deepseek-v4-flash)
andcommitted
Fix duplicate 'MACA' in error messages of maca_common.h
The MACA_DRIVER_CALL and MACA_CALL macros had 'MACA MACA Error' and 'MACA MACA:' in their error/output messages. This redundant repetition makes log output harder to read. Changed to 'MACA Error' and 'MACA:' respectively. Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com> Signed-off-by: Contributor <contributor@example.com>
1 parent e4274b0 commit a6c2bb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/runtime/maca/maca_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ namespace runtime {
3939
{ \
4040
mcError_t result = x; \
4141
if (result != mcSuccess && result != mcErrorDeinitialized) { \
42-
LOG(FATAL) << "MACA MACA Error: " #x " failed with error: " << mcGetErrorString(result); \
42+
LOG(FATAL) << "MACA Error: " #x " failed with error: " << mcGetErrorString(result); \
4343
} \
4444
}
4545

4646
#define MACA_CALL(func) \
4747
{ \
4848
mcError_t e = (func); \
49-
ICHECK(e == mcSuccess) << "MACA MACA: " << mcGetErrorString(e); \
49+
ICHECK(e == mcSuccess) << "MACA: " << mcGetErrorString(e); \
5050
}
5151

5252
/*! \brief Thread local workspace */

0 commit comments

Comments
 (0)