Comments (1)
No there is no memory leak. The recv
function creates a local status
object which is automatically clean-up by the compiler when leaving the function. Note that reinterpret_cast
does not create a new object.
reinterpret_cast<MPI_Status *>(&s)
Means, take the address of s
(which is of type mpl::status
) and interpret this address as a pointer to MPI_Status
.
from mpl.
Related Issues (20)
- Support std::span
- Can API changes be more clearly marked? HOT 1
- MPI_Intercomm_create functionality HOT 6
- Obtain raw MPI_Comm from mpl::communicator HOT 4
- Obtain raw MPI_Comm from mpl::communicator - Version 2 HOT 4
- Support for C++20 ranges HOT 2
- Including mpl/mpl.hpp throwing errors HOT 2
- "on ramp" for legacy code and interop HOT 3
- const problems with native handle HOT 4
- Dead link for eijkhout book HOT 1
- v0.2.0 install fails on sphinx HOT 5
- v0.2.0 doxygen latex fails HOT 1
- Abuout ialltoallv in IntelMPI 2021.5.1 HOT 3
- scatterv problem in comm_group.hpp HOT 1
- formatting error in allreduce 2/4 docs HOT 2
- need advice: split_shared_memory
- Warning under older intel compiler
- document use from cmake
- Error with maybe_unused HOT 2
- Failed to build on Windows platform HOT 6
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 mpl.