-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small fix in getGlobalBin #75
Conversation
5a7cf44
to
b1621ef
Compare
for (int i{1}; i != Ndim; ++i) { | ||
globalBin += n_tiles_per_dim * getBin(acc, coords[i], i); | ||
int globalBin = 0; | ||
for (int dim = 0; dim != Ndim - 1; ++dim) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.1 rule Note
} | ||
globalBin += getBin(acc, coords[Ndim - 1], Ndim - 1); |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
uint32_t globalBin{Bins[0]}; | ||
for (int i{1}; i != Ndim; ++i) { | ||
globalBin += n_tiles_per_dim * Bins[i]; | ||
const TAcc& acc, const VecArray<uint32_t, Ndim>& Bins) const { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
globalBin += n_tiles_per_dim * Bins[i]; | ||
const TAcc& acc, const VecArray<uint32_t, Ndim>& Bins) const { | ||
uint32_t globalBin = 0; | ||
for (int dim = 0; dim != Ndim - 1; ++dim) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.1 rule Note
* Small fix in getGlobalBin * Update version * Formatting Fix after merge
* Rework points as SoA Update backend code Update binding modules Update python API Add tests for host-side point SoA Update run_clue for CUDA and HIP Update benchmarking scripts Move test folder Fix device memory access in memcpy * Feature clusterer import method (#76) * Add `import_clusterer` method * Add test for new clusterer import * Add docstring * Fix "if main" of test file * Addition to gitignore * Small fix in getGlobalBin (#75) * Small fix in getGlobalBin * Update version * Formatting Fix after merge * Separate alpaka input and result buffers Fix partial dimensional clustering Update package version
* Small fix in getGlobalBin * Update version * Formatting
* Rework points as SoA Update backend code Update binding modules Update python API Add tests for host-side point SoA Update run_clue for CUDA and HIP Update benchmarking scripts Move test folder Fix device memory access in memcpy * Feature clusterer import method (cms-patatrack#76) * Add `import_clusterer` method * Add test for new clusterer import * Add docstring * Fix "if main" of test file * Addition to gitignore * Small fix in getGlobalBin (cms-patatrack#75) * Small fix in getGlobalBin * Update version * Formatting Fix after merge * Separate alpaka input and result buffers Fix partial dimensional clustering Update package version
No description provided.