Skip to content

Commit

Permalink
Fix warnings about unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthaf committed Jan 18, 2024
1 parent 2b627cb commit 67ba837
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sphericart/src/sphericart_cuda_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ SphericalHarmonics<T>::SphericalHarmonics(size_t l_max, bool normalized) {}
template <typename T> SphericalHarmonics<T>::~SphericalHarmonics() {}

template <typename T>
void SphericalHarmonics<T>::compute(const T *xyz, const size_t nsamples,
bool compute_with_gradients,
bool compute_with_hessian, T *sph, T *dsph,
T *ddsph, void *cuda_stream) {
void SphericalHarmonics<T>::compute(const T * /*xyz*/, size_t /*nsamples*/,
bool /*compute_with_gradients*/,
bool /*compute_with_hessian*/, T * /*sph*/,
T * /*dsph*/, T * /*ddsph*/,
void * /*cuda_stream*/) {
throw std::runtime_error("sphericart was not compiled with CUDA support");
}

Expand Down

0 comments on commit 67ba837

Please sign in to comment.