Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
04ad8b79
Commit
04ad8b79
authored
Feb 08, 2019
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing GPU tests + print out
parent
076b8503
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
src/Vector/cuda/vector_dist_gpu_unit_tests.cu
src/Vector/cuda/vector_dist_gpu_unit_tests.cu
+20
-6
No files found.
src/Vector/cuda/vector_dist_gpu_unit_tests.cu
View file @
04ad8b79
...
...
@@ -162,13 +162,27 @@ bool check_force(CellList_type & NN_cpu, vector_type & vd)
++
NNc
;
}
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
0
]
-
vd
.
template
getProp
<
2
>(
p
)[
0
])
<
0.000
1
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
1
]
-
vd
.
template
getProp
<
2
>(
p
)[
1
])
<
0.000
1
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
2
]
-
vd
.
template
getProp
<
2
>(
p
)[
2
])
<
0.000
1
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
0
]
-
vd
.
template
getProp
<
2
>(
p
)[
0
])
<
0.000
3
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
1
]
-
vd
.
template
getProp
<
2
>(
p
)[
1
])
<
0.000
3
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
2
]
-
vd
.
template
getProp
<
2
>(
p
)[
2
])
<
0.000
3
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
0
]
-
force
.
get
(
0
))
<
0.0001
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
1
]
-
force
.
get
(
1
))
<
0.0001
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
2
]
-
force
.
get
(
2
))
<
0.0001
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
0
]
-
force
.
get
(
0
))
<
0.0003
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
1
]
-
force
.
get
(
1
))
<
0.0003
;
match
&=
fabs
(
vd
.
template
getProp
<
1
>(
p
)[
2
]
-
force
.
get
(
2
))
<
0.0003
;
if
(
match
==
false
)
{
std
::
cout
<<
"ERROR: "
<<
vd
.
template
getProp
<
1
>(
p
)[
0
]
<<
" "
<<
vd
.
template
getProp
<
2
>(
p
)[
0
]
<<
std
::
endl
;
std
::
cout
<<
"ERROR: "
<<
vd
.
template
getProp
<
1
>(
p
)[
1
]
<<
" "
<<
vd
.
template
getProp
<
2
>(
p
)[
1
]
<<
std
::
endl
;
std
::
cout
<<
"ERROR: "
<<
vd
.
template
getProp
<
1
>(
p
)[
2
]
<<
" "
<<
vd
.
template
getProp
<
2
>(
p
)[
2
]
<<
std
::
endl
;
std
::
cout
<<
"ERROR2: "
<<
vd
.
template
getProp
<
1
>(
p
)[
0
]
<<
" "
<<
force
.
get
(
0
)
<<
std
::
endl
;
std
::
cout
<<
"ERROR2: "
<<
vd
.
template
getProp
<
1
>(
p
)[
1
]
<<
" "
<<
force
.
get
(
1
)
<<
std
::
endl
;
std
::
cout
<<
"ERROR2: "
<<
vd
.
template
getProp
<
1
>(
p
)[
2
]
<<
" "
<<
force
.
get
(
2
)
<<
std
::
endl
;
break
;
}
++
it6
;
}
...
...
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