Commit 9a22a8a7 authored by Richard Zou's avatar Richard Zou Committed by Soumith Chintala
Browse files

Remove unintentional -O0 option in setup.py (#1770)

Previously, when doing a CUDA build, we would pass -O0 to build cpu
bits. This PR removes that `-O0` (so we build in `-O3` instead.

Test Plan:
- wait for CI
parent f9229160
......@@ -113,7 +113,7 @@ def get_extensions():
else:
nvcc_flags = nvcc_flags.split(' ')
extra_compile_args = {
'cxx': ['-O0'],
'cxx': [],
'nvcc': nvcc_flags,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment