Skip to content

Use Kokkos by default #55

Closed
Closed
@nksauter

Description

@nksauter

Problem statement: the way it is now GPU acceleration is only accessed if an environment variable is set:

DIFFBRAGG_USE_CUDA=1 simtbx.sim_view
DIFFBRAGG_USE_KOKKOS=1 simtbx.sim_view

As a user-friendly interface to diffBragg, the simtbx.sim_view command should be given default behavior that aligns with our current intended use case, namely always use Kokkos. Please implement this. Any number of options might work, but the simplest is just for the sim_view.py script to set the environment variable as soon as it starts. We need this done before returning the manuscript to the editor.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions