|
| enum | DeviceVendors { HIP
, CUDA
} |
| enum | FuncAttributes { REGISTER_USAGE
, LOCALMEM_USAGE
, CONSTMEM_USAGE
} |
| enum class | MapStatus { Mapped
, Occupied
, OutOfMemory
} |
| enum class | BuiltinDType : std::uint8_t {
U8 = 0
, I8
, U16
, I16
,
U32
, I32
, U64
, I64
,
F16
, F32
, F64
} |
| enum class | ThresholdKind : std::uint8_t { Absolute = 0
, Relative = 1
} |
| enum class | Norm : std::uint8_t { None = 0
, L1
, L2
, Linf
} |
| enum class | LogLevel {
Trace
, Debug
, Info
, Warn
,
Error
, Critical
, Off
} |
| enum class | EpilogueSnapshotType { Bytes
, Diff
, Best
} |
| enum class | FilterMode { Default
, Scoped
, Config
} |
| enum class | KernelTimingType { Off
, Profiler
} |
| enum class | AnnotationStatus {
Ok
, OutOfBounds
, Empty
, UnknownElementType
,
StartsInsideElement
, EndsInsideElement
} |
| enum class | MemoryLocation { Host
, Device
} |
| enum class | SnapshotKind : uint32_t { Bytes = 1
, Diff = 2
} |
|
| void | annotate (const void *ptr, Metadata md) |
| void | annotate (const void *ptr, std::size_t bytes, Metadata md) |
| void | installCrashHandler () |
| CompareResult | compareDeviceBlobs (const char *Blob1, const char *Blob2, uint64_t NumBytes, Metadata Md) |
| DispatchTracer * | mnemeCreateDispatchTracer () |
| void | mnemeConfigureDispatchTool (ToolCallback Initialize, ToolCallback) |
| bool | hasAutoInitAnnotation (const llvm::Instruction &I) |
| bool | purgeAutoInit (llvm::Module &M) |
| void * | loadRTLib (const char *Name) |
| template<DeviceVendors Vendor, typename FnT> |
| FnT | getRuntimeFn (const char *Name) |
| constexpr std::size_t | builtinByteWidth (BuiltinDType builtin) |
| bool | operator== (const Metadata &LHS, const Metadata &RHS) |
| bool | operator!= (const Metadata &LHS, const Metadata &RHS) |
| template<class Container> |
| | Span (Container &) -> Span< std::remove_pointer_t< decltype(std::declval< Container & >().data())> > |
| template<class T, std::enable_if_t<!std::is_void_v< std::remove_cv_t< T > >, int > = 0> |
| void | annotate (T *ptr, Metadata md={}) |
| template<class T> |
| void | annotate (Span< T > Region, Metadata Md) |
| std::optional< KernelTimingType > | parseKernelTiming (std::string_view Value) |
| const char * | getKernelTimingName (KernelTimingType Type) |
| template<typename DoneFn> |
| void | waitForRecords (std::unique_lock< std::mutex > &Lock, std::condition_variable &Arrived, DispatchTracer &Tracer, DoneFn Done, std::chrono::steady_clock::duration Timeout) |
| void | pruneMnemeGlobals (llvm::Module &M) |
| template<DeviceVendors VendorTypes> |
| std::unique_ptr< LaunchTimer< VendorTypes > > | createLaunchTimer (KernelTimingType Type) |
| template<typename MmapFn> |
| void * | placeOrForwardMmap (MmapFn Mmap, void *Addr, size_t Len, int Prot, int Flags, int Fd, off_t Off) |
| template<typename MunmapFn> |
| int | reserveOrForwardMunmap (MunmapFn Munmap, void *Addr, size_t Len) |
| bool | operator== (const ByteSpan &LHS, const ByteSpan &RHS) |
| bool | operator!= (const ByteSpan &LHS, const ByteSpan &RHS) |
| bool | operator== (const MemoryAnnotation &LHS, const MemoryAnnotation &RHS) |
| bool | operator!= (const MemoryAnnotation &LHS, const MemoryAnnotation &RHS) |
| std::vector< MemoryAnnotation > | readAnnotationsFromBuffer (const char *&Buffer) |
| void | writeAnnotationsToStream (llvm::raw_ostream &OS, const std::vector< MemoryAnnotation > &Annotations) |
| size_t | annotationsSerializedSize (const std::vector< MemoryAnnotation > &Annotations) |
| const char * | describeAnnotationStatus (AnnotationStatus Status) |
| std::optional< int > | detectDistributedRank () |
| template<typename RecorderT, typename AllocatedFn, typename... ArgTs> |
| auto | forwardAlloc (const char *Name, AllocatedFn Allocated, ArgTs... Args) |
| template<DeviceVendors VendorTypes> |
| std::unique_ptr< ReplayMemState< VendorTypes > > | makeReplayPrologueState (const std::string &KernelName, const std::string &SnapshotFile) |
| template<DeviceVendors VendorTypes> |
| std::unique_ptr< ReplayMemState< VendorTypes > > | makeReplayEpilogueState (const std::string &KernelName, const std::string &SnapshotFile, const std::string &BasePrologueFile) |
| std::pair< std::string, ReplayGlobalVar > | readGlobalVarRecord (const char *&Buffer) |
| GlobalVarHeader | globalVarHeader (const std::string &Name, const proteus::runtime::GlobalMetadata &GV) |
| template<DeviceVendors VendorTypes> |
| std::vector< uint8_t > | readGlobalFromDevice (const proteus::runtime::GlobalMetadata &GV) |
| template<DeviceVendors VendorTypes> |
| std::unique_ptr< SnapshotWriter< VendorTypes > > | makeEpilogueWriter (EpilogueSnapshotType Type, std::shared_ptr< const GlobalSnapshotData > PrologueGlobals) |