File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/gc/ExecutionEngine/GPURuntime/ocl Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ get_property(GC_JIT_WRAPPER_LIBS GLOBAL PROPERTY GC_JIT_WRAPPER_LIBS)
44gc_add_mlir_library(GcGpuOclRuntime
55 GpuOclRuntime.cpp
66 LINK_LIBS PUBLIC
7- GcPasses
7+ GcGpuPasses
88 ${GC_JIT_WRAPPER_LIBS}
99)
1010target_include_directories (GcGpuOclRuntime PUBLIC ${OpenCL_INCLUDE_DIRS} )
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ struct OclRuntime::Exports {
163163 llvm::orc::SymbolMap map;
164164 map.reserve (6 );
165165 map.try_emplace (interner (GPU_OCL_MALLOC),
166- llvm::orc::ExecutorAddr::fromPtr (&malloc ),
166+ llvm::orc::ExecutorAddr::fromPtr (&alloc ),
167167 llvm::JITSymbolFlags::Exported);
168168 map.try_emplace (interner (GPU_OCL_DEALLOC),
169169 llvm::orc::ExecutorAddr::fromPtr (&dealloc),
@@ -184,7 +184,7 @@ struct OclRuntime::Exports {
184184 }
185185
186186private:
187- static void *maloc (const OclContext *ctx, size_t size) {
187+ static void *alloc (const OclContext *ctx, size_t size) {
188188 return gcGetOrReport (ctx->runtime .usmAllocDev (size));
189189 }
190190
You can’t perform that action at this time.
0 commit comments