Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove C++ code dependencies on CUDA headers, except where curand is needed #679

Closed
valassi opened this issue Jun 4, 2023 · 1 comment · Fixed by #681
Closed

Remove C++ code dependencies on CUDA headers, except where curand is needed #679

valassi opened this issue Jun 4, 2023 · 1 comment · Fixed by #681
Assignees

Comments

@valassi
Copy link
Member

valassi commented Jun 4, 2023

Part of the cleanup of builds. Remove C++ code dependencies on CUDA headers, except where curand is needed

Related to #674

valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
madgraph5#679

Still need to test that I can optionally reenable it...
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
…end on curand madgraph5#679

These both succeed
make -f cudacpp.mk cleanall; make -f cudacpp.mk RNDGEN=hasCurand
make -f cudacpp.mk cleanall; make -f cudacpp.mk RNDGEN=hasNoCurand
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
…nly in RandomNumberKernels.o madgraph5#679

Essentially, the curand dependency is fully encapsulated in RandomNumberKernels.o
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
…nd runtest, keep it only in check madgraph5#679

Essentially: curand is presently used only in check.exe and gcheck.exe...
This means we should really disable it for madevent production builds?
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
…st and fcheck do not use the feature...

Revert "[builds] in gg_tt.mad cudacpp.mk, remove CURANDLIBFLAGS from fcheck and runtest, keep it only in check madgraph5#679"
This reverts commit 97701ed.
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
…curand only to check.exe, remove it from fcheck and runtest, madgraph5#679
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
@valassi valassi self-assigned this Jun 4, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Jun 4, 2023
@valassi
Copy link
Member Author

valassi commented Jun 4, 2023

Closed by MR #681

@valassi valassi closed this as completed Jun 4, 2023
valassi added a commit to mg5amcnlo/mg5amcnlo_cudacpp that referenced this issue Aug 16, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant