Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CUDA flags #28

Closed
fwyzard opened this issue Mar 1, 2018 · 4 comments
Closed

Update CUDA flags #28

fwyzard opened this issue Mar 1, 2018 · 4 comments
Assignees
Labels

Comments

@fwyzard
Copy link

fwyzard commented Mar 1, 2018

Update the default CUDA flags to include -O3 -std=c++14 --expt-relaxed-constexpr --expt-extended-lambda

@fwyzard fwyzard self-assigned this Mar 1, 2018
@cmsbot
Copy link

cmsbot commented Mar 1, 2018

A new Issue was created by @fwyzard Andrea Bocci.

can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@fwyzard
Copy link
Author

fwyzard commented Mar 1, 2018

See cms-sw/cmsdist#3786

@fwyzard
Copy link
Author

fwyzard commented Mar 2, 2018

The workaround for CMSSW 10.1.0-pre2 is to run

cmsenv
sed -e's|CUDA_FLAGS="-O2 -std=c++14"|CUDA_FLAGS="-O3 -std=c++14 --expt-relaxed-constexpr --expt-extended-lambda"|' -i $CMSSW_BASE/config/toolbox/$SCRAM_ARCH/tools/selected/cuda.xml
scram b

@fwyzard
Copy link
Author

fwyzard commented Mar 15, 2018

Closing, the fix has been included in CMSSW 10.1.0-pre3 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants