8 #include <initializer_list>
void enableLog(const LogType &type, const LogLevel &level=LogLevel::Error, const LogDetail &detail=LogDetail::None)
Configures logging settings for a specific log type.
void disableLog(const LogType &type)
Disables logging for a specific log type.
void invalidateHostCache(void *hostVirtualPtr, size_t size)
Drops host cache lines over the range so a later read sees what the device wrote.
void setOutput(const LogOutput &outputType, const char *filename=nullptr)
Sets the output destination for log messages.
void flushHostCacheUntracked(void *hostVirtualPtr, size_t size, bool opt=true)
Flushes the host CPU cache, and nothing else.
void registerSignalHandler(int32_t signalType)
Registers a signal handler for a specific signal type.
void flushHostCache(void *hostVirtualPtr, size_t size, bool opt=true)
Flushes the host CPU cache for the specified memory range and records the range as written.