Skip to content

Commit 54941ee

Browse files
committed
fix limiting memory resource
1 parent 88ae1cf commit 54941ee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

benchmarks/linear_programming/cuopt/run_mip.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,7 @@ void run_single_file_mp(std::string file_path,
261261
{
262262
std::cout << "running file " << file_path << " on gpu : " << device << std::endl;
263263
auto memory_resource = make_async();
264-
auto limiting_adaptor =
265-
rmm::mr::limiting_resource_adaptor(memory_resource.get(), 6ULL * 1024ULL * 1024ULL * 1024ULL);
266-
rmm::mr::set_current_device_resource(&limiting_adaptor);
264+
rmm::mr::set_current_device_resource(memory_resource.get());
267265
int sol_found = run_single_file(file_path,
268266
device,
269267
batch_id,

cpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ endif()
422422

423423

424424
option(BUILD_MIP_BENCHMARKS "Build MIP benchmarks" OFF)
425+
set(BUILD_MIP_BENCHMARKS ON)
425426
if(BUILD_MIP_BENCHMARKS AND NOT BUILD_LP_ONLY)
426427
add_executable(solve_MIP ../benchmarks/linear_programming/cuopt/run_mip.cpp)
427428
target_compile_options(solve_MIP

0 commit comments

Comments
 (0)