File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 88# If enabled, bazel has to be installed.
99option (ALLOW_CUDA "Try to find and use CUDA." ON )
1010option (REQUIRE_CUDA "Make sure to find and use CUDA (implies ALLOW_CUDA)." OFF )
11+ set (LOCAL_RAM_RESOURCES 4096 CACHE STRING "The amount of local RAM resources passed to bazel (e.g., 4096)." )
1112set (TENSORFLOW_TAG "v${version} " CACHE STRING "The tensorflow release tag to be checked out (default v${version} )." )
1213set (TARGET_CXX_STANDARD "cxx_std_11" CACHE STRING "C++ standard to be enforced when linking to TensorflowCC targets (e.g., cxx_std_11)." )
1314
Original file line number Diff line number Diff line change 9999./configure
100100bazel build --config=opt \
101101 --config=monolithic \
102+ --local_ram_resources=@LOCAL_RAM_RESOURCES@ \
102103 $cuda_config_opts \
103104 tensorflow:libtensorflow_cc.so \
104105 tensorflow:install_headers
You can’t perform that action at this time.
0 commit comments