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_vcluster
Commits
13eb9a78
Commit
13eb9a78
authored
Sep 17, 2015
by
incardon
Browse files
Fixing CUDA compilation
parent
b573bb0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Packer.hpp
View file @
13eb9a78
...
...
@@ -239,7 +239,7 @@ public:
typedef
encapc
<
1
,
prp_object
,
typename
dtype
::
memory_conf
>
encap_dst
;
// Copy only the selected properties
object_si_d
<
encap_src
,
encap_dst
,
ENCAP
,
prp
...
>
(
obj
.
get
(
obj_it
.
get
()),
dest
.
get
(
obj_it
.
get
()));
object_si_d
<
encap_src
,
encap_dst
,
OBJ_
ENCAP
,
prp
...
>
(
obj
.
get
(
obj_it
.
get
()),
dest
.
get
(
obj_it
.
get
()));
++
obj_it
;
}
...
...
@@ -303,7 +303,7 @@ class Packer<T,Mem,PACKER_GRID>
typedef
encapc
<
1
,
prp_object
,
typename
dtype
::
memory_conf
>
encap_dst
;
// Copy only the selected properties
object_si_d
<
encap_src
,
encap_dst
,
ENCAP
,
prp
...
>
(
obj
.
get_o
(
sub_it
.
get
()),
dest
.
get
(
id
));
object_si_d
<
encap_src
,
encap_dst
,
OBJ_
ENCAP
,
prp
...
>
(
obj
.
get_o
(
sub_it
.
get
()),
dest
.
get
(
id
));
++
id
;
++
sub_it
;
...
...
src/Unpacker.hpp
View file @
13eb9a78
...
...
@@ -174,7 +174,7 @@ public:
typedef
encapc
<
1
,
prp_object
,
typename
stype
::
memory_conf
>
encap_src
;
// Copy only the selected properties
object_s_di
<
encap_src
,
encap_dst
,
ENCAP
,
prp
...
>
(
src
.
get
(
id
),
obj
.
get
(
obj_it
.
get
()));
object_s_di
<
encap_src
,
encap_dst
,
OBJ_
ENCAP
,
prp
...
>
(
src
.
get
(
id
),
obj
.
get
(
obj_it
.
get
()));
++
id
;
++
obj_it
;
...
...
@@ -215,7 +215,7 @@ class Unpacker<T,Mem,PACKER_GRID>
typedef
encapc
<
1
,
prp_object
,
typename
grid_cpu
<
T
::
dims
,
prp_object
>::
memory_conf
>
encap_src
;
// Copy only the selected properties
object_s_di
<
encap_src
,
encap_dst
,
ENCAP
,
prp
...
>
(
src
.
get
(
id
),
obj
.
get_o
(
sub_it
.
get
()));
object_s_di
<
encap_src
,
encap_dst
,
OBJ_
ENCAP
,
prp
...
>
(
src
.
get
(
id
),
obj
.
get_o
(
sub_it
.
get
()));
++
id
;
++
sub_it
;
...
...
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