Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_data
Commits
c6ee6887
Commit
c6ee6887
authored
Feb 25, 2022
by
incardon
Browse files
Fixing SparseGridGPU serialization
parent
be54c026
Pipeline
#4258
failed with stages
in 7 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SparseGridGpu/SparseGridGpu.hpp
View file @
c6ee6887
...
...
@@ -2829,7 +2829,13 @@ public:
//Functions to check if the packing object is complex
static
bool
pack
()
{
return
false
;
return
true
;
}
//Functions to check if the packing object is complex
static
bool
packRequest
()
{
return
true
;
}
/*! \brief Asking to pack a SparseGrid GPU without GPU context pack the grid on CPU and host memory
...
...
src/Vector/map_vector_std.hpp
View file @
c6ee6887
...
...
@@ -1006,6 +1006,18 @@ public:
return
base_type
::
get
(
id
);
}
/*! \brief Get an element of the vector
*
* \param id element to get
*
* \return the element reference
*
*/
inline
T
&
operator
[](
size_t
id
)
{
return
base_type
::
get
(
id
);
}
/*! \brief Get an element of the vector
*
* \param id element to get
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment