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)
4
4
gc_add_mlir_library (GcGpuOclRuntime
5
5
GpuOclRuntime.cpp
6
6
LINK_LIBS PUBLIC
7
- GcPasses
7
+ GcGpuPasses
8
8
${GC_JIT_WRAPPER_LIBS}
9
9
)
10
10
target_include_directories (GcGpuOclRuntime PUBLIC ${OpenCL_INCLUDE_DIRS} )
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ struct OclRuntime::Exports {
163
163
llvm::orc::SymbolMap map;
164
164
map.reserve (6 );
165
165
map.try_emplace (interner (GPU_OCL_MALLOC),
166
- llvm::orc::ExecutorAddr::fromPtr (&malloc ),
166
+ llvm::orc::ExecutorAddr::fromPtr (&alloc ),
167
167
llvm::JITSymbolFlags::Exported);
168
168
map.try_emplace (interner (GPU_OCL_DEALLOC),
169
169
llvm::orc::ExecutorAddr::fromPtr (&dealloc),
@@ -184,7 +184,7 @@ struct OclRuntime::Exports {
184
184
}
185
185
186
186
private:
187
- static void *maloc (const OclContext *ctx, size_t size) {
187
+ static void *alloc (const OclContext *ctx, size_t size) {
188
188
return gcGetOrReport (ctx->runtime .usmAllocDev (size));
189
189
}
190
190
You can’t perform that action at this time.
0 commit comments