Skip to content

Commit

Permalink
review updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjbrowning committed Dec 16, 2024
1 parent 940c309 commit addfbd8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 24 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-jax-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
cuda-version: ["12.1"]
env:
CIBW_SKIP: cp36-* cp37-* cp38-* cp39-*
name: "sphericart-jax-wheel ${{matrix.os}} ${{matrix.arch}} python=${{matrix.python-version}}"

steps:
- name: Checkout code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-torch-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
cuda-version: ["12.1"]
env:
CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-*
name: "sphericart-torch-wheel ${{matrix.os}} ${{matrix.arch}} python=${{matrix.python-version}} torch=${{matrix.torch-version}}"

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion sphericart-jax/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "sphericart-jax"
dynamic = ["version"]
requires-python = ">=3.10"
requires-python = ">=3.9"
dependencies = ["jax >= 0.4.18"]

readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion sphericart-torch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sphericart-torch"
requires-python = ">=3.8"
requires-python = ">=3.9"
dynamic = ["version", "dependencies"]

readme = "README.md"
Expand Down
22 changes: 0 additions & 22 deletions sphericart/include/dynamic_cuda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,26 +366,4 @@ static struct CUDAInitializer {

} cudaInitializer;

/*
// Singleton getter functions
inline CUDART& GetCUDARTInstance() {
static CUDART instance;
return instance;
}
inline CUDADriver& GetCUDADriverInstance() {
static CUDADriver instance;
return instance;
}
inline NVRTC& GetNVRTCInstance() {
static NVRTC instance;
return instance;
}
// Macro shortcuts
#define CUDART_INSTANCE GetCUDARTInstance()
#define CUDA_DRIVER_INSTANCE GetCUDADriverInstance()
#define NVRTC_INSTANCE GetNVRTCInstance() */

#endif // DYNAMIC_CUDA_HEADER_HPP

0 comments on commit addfbd8

Please sign in to comment.