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
argupta
openfpm_pdata
Commits
f9e665a2
Commit
f9e665a2
authored
Dec 29, 2018
by
incardon
Browse files
Fixing lanching kernel with no work
parent
f21599c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vector/cuda/vector_dist_comm_util_funcs.cuh
View file @
f9e665a2
...
...
@@ -204,10 +204,13 @@ struct local_ghost_from_opart_impl<with_pos,dim,St,prop,Memory,layout_base,true>
v_prp
.
resize
(
v_prp
.
size
()
+
o_part_loc
.
size
(),
DATA_ON_DEVICE
);
}
process_ghost_particles_local
<
with_pos
,
dim
,
decltype
(
o_part_loc
.
toKernel
()),
decltype
(
v_pos
.
toKernel
()),
decltype
(
v_prp
.
toKernel
()),
decltype
(
shifts
.
toKernel
())
>
<<<
ite
.
wthr
,
ite
.
thr
>>>
(
o_part_loc
.
toKernel
(),
v_pos
.
toKernel
(),
v_prp
.
toKernel
(),
shifts
.
toKernel
(),
old
);
if
(
ite
.
wthr
.
x
!=
0
)
{
process_ghost_particles_local
<
with_pos
,
dim
,
decltype
(
o_part_loc
.
toKernel
()),
decltype
(
v_pos
.
toKernel
()),
decltype
(
v_prp
.
toKernel
()),
decltype
(
shifts
.
toKernel
())
>
<<<
ite
.
wthr
,
ite
.
thr
>>>
(
o_part_loc
.
toKernel
(),
v_pos
.
toKernel
(),
v_prp
.
toKernel
(),
shifts
.
toKernel
(),
old
);
}
#else
std
::
cout
<<
__FILE__
<<
":"
<<
__LINE__
<<
" error: to use the option RUN_ON_DEVICE you must compile with NVCC"
<<
std
::
endl
;
#endif
...
...
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