Comments (2)
auto i = 0u
(aka unsigned i = 0
) should do the trick. There should be no need to cast these singed/unsigned errors away unless more subtle hints don't bring the types into "signage compatibility".
Although arguable using size_t i = 0;
would also be appropriate (required to be same as collection size since C++17, de facto-true before). In actuality, that overflow case would 'not be expected'.
Mainly, I just don't like to see static casts thrown about without cause :|
from magistrate.
this was changed to std::size_t
(#78):
https://github.com/DARMA-tasking/checkpoint/blob/0a4fd01a2bce6044eab62a49c6a33f2025ba9c9b/src/checkpoint/container/vector_serialize.h#L95
closing the issue
from magistrate.
Related Issues (20)
- nvcc CI builds warn about `-std=gnu++17` for every file
- Respect CMake `BUILD_SHARED` property rather than blanket-adding `-fPIC`
- Re-enable Kokkos logical memory space test when possible
- Don't export `ccache` usage to downstream projects
- Use GTest imported targets
- Stop forcing static library
- Rename macros prefixed with `KOKKOS_`
- Create release `1.3.0`
- Compilation with GCC-13 produces many notes about snprintf HOT 3
- Building documentation fails
- nvcc failes to rebuild Docker image, breaking CI HOT 1
- Update for Kokkos 4.1 (Rank vs rank)
- Bump version to 1.4.0 ahead of release
- Release version 1.4.0 HOT 1
- Drop `test_logical_device_view_contents`
- Fix CI badges in `README`
- Fix typo in README
- Add serializers for steams
- Tests fail to build within Spack build environment
- Add more warnings and then eliminate their sources
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magistrate.