Halide
Halide::Internal::JITSharedRuntime Class Reference

#include <JITModule.h>

Static Public Member Functions

static std::vector< JITModuleget (llvm::Module *m, const Target &target, bool create=true)
 
static void init_jit_user_context (JITUserContext &jit_user_context, void *user_context, const JITHandlers &handlers)
 
static JITHandlers set_default_handlers (const JITHandlers &handlers)
 
static void memoization_cache_set_size (int64_t size)
 Set the maximum number of bytes used by memoization caching. More...
 
static void reuse_device_allocations (bool)
 Set whether or not Halide may hold onto and reuse device allocations to avoid calling expensive device API allocation functions. More...
 
static void release_all ()
 

Detailed Description

Definition at line 157 of file JITModule.h.

Member Function Documentation

◆ get()

static std::vector<JITModule> Halide::Internal::JITSharedRuntime::get ( llvm::Module *  m,
const Target target,
bool  create = true 
)
static

◆ init_jit_user_context()

static void Halide::Internal::JITSharedRuntime::init_jit_user_context ( JITUserContext jit_user_context,
void *  user_context,
const JITHandlers handlers 
)
static

◆ set_default_handlers()

static JITHandlers Halide::Internal::JITSharedRuntime::set_default_handlers ( const JITHandlers handlers)
static

◆ memoization_cache_set_size()

static void Halide::Internal::JITSharedRuntime::memoization_cache_set_size ( int64_t  size)
static

Set the maximum number of bytes used by memoization caching.

If you are compiling statically, you should include HalideRuntime.h and call halide_memoization_cache_set_size() instead.

◆ reuse_device_allocations()

static void Halide::Internal::JITSharedRuntime::reuse_device_allocations ( bool  )
static

Set whether or not Halide may hold onto and reuse device allocations to avoid calling expensive device API allocation functions.

If you are compiling statically, you should include HalideRuntime.h and call halide_reuse_device_allocations instead.

◆ release_all()

static void Halide::Internal::JITSharedRuntime::release_all ( )
static

The documentation for this class was generated from the following file: