-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve way to detect whether visible GPUs are present in the python API
- Loading branch information
Showing
8 changed files
with
437 additions
and
459 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from .config import cuda_enabled, cupy_enabled, get_array_module, XPArray, XPFloat32Array, XPShortArray | ||
from .backend import cuda_present, cupy_enabled, get_array_module, XPArray, XPFloat32Array, XPShortArray | ||
from .backend import num_visible_cuda_devices | ||
from .backend import joseph3d_fwd, joseph3d_back | ||
from .backend import joseph3d_fwd_tof_sino, joseph3d_back_tof_sino | ||
from .backend import joseph3d_fwd_tof_lm, joseph3d_back_tof_lm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.