Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions cuBQL/math/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,10 @@ using cudaMemPool_t = hipMemPool_t;

# define CUBQL_INTERFACE /* nothing - currently not building any special 'cubql.dll' */

#ifndef __PRETTY_FUNCTION__
# if defined(__func__)
# define __PRETTY_FUNCTION__ __func__
// # define __PRETTY_FUNCTION__ __FILE__##"::"##__LINE__##": "##__FUNCTION__
# else
# define __PRETTY_FUNCTION__ __FUNCTION__
# endif
// GCC and Clang provide __PRETTY_FUNCTION__ as a predefined identifier, not
// a macro, so only MSVC needs a fallback.
#if defined(_MSC_VER) && !defined(__clang__) && !defined(__PRETTY_FUNCTION__)
# define __PRETTY_FUNCTION__ __FUNCSIG__
#endif


Expand Down