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
Houman Mirzaalian Dastjerdi
waLBerla
Commits
86a68ded
Commit
86a68ded
authored
Jun 29, 2018
by
Houman Mirzaalian Dastjerdi
Browse files
remove unused variable 'lhs and rhs'
parent
470f9738
Pipeline
#10170
passed with stage
in 161 minutes and 59 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
apps/benchmarks/CUDA_ComplexGeometryList/CUDA_ComplexGeometryList.h
View file @
86a68ded
...
...
@@ -100,15 +100,16 @@ namespace walberla {
};
template
<
typename
Index_T
>
bool
operator
==
(
const
ListOnGpu
<
Index_T
>
&
lhs
,
const
ListOnGpu
<
Index_T
>
&
rhs
)
bool
operator
==
(
const
ListOnGpu
<
Index_T
>
&
/*
lhs
*/
,
const
ListOnGpu
<
Index_T
>
&
/*
rhs
*/
)
{
return
false
;
}
template
<
typename
ListOnCPU
,
typename
ListOnGPU
>
void
copyToGpu
(
const
ListOnCPU
&
src
,
ListOnGPU
&
dst
)
{
static_assert
(
std
::
is_same
<
typename
ListOnCPU
::
index_t
,
typename
ListOnGPU
::
index_t
>::
value
,
""
);
static_assert
(
std
::
is_same
<
typename
ListOnCPU
::
index_t
,
typename
ListOnGPU
::
index_t
>::
value
,
"
Error in the type comparing of index_t
"
);
typedef
typename
ListOnCPU
::
index_t
index_t
;
...
...
@@ -141,7 +142,7 @@ namespace walberla {
template
<
typename
ListOnGPU
,
typename
ListOnCPU
>
void
copyToCpu
(
const
ListOnGPU
&
src
,
ListOnCPU
&
dst
)
{
static_assert
(
std
::
is_same
<
typename
ListOnCPU
::
index_t
,
typename
ListOnGPU
::
index_t
>::
value
,
""
);
static_assert
(
std
::
is_same
<
typename
ListOnCPU
::
index_t
,
typename
ListOnGPU
::
index_t
>::
value
,
"
Error in the type comparing of index_t
"
);
typedef
typename
ListOnCPU
::
index_t
index_t
;
...
...
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