Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sudhanshu Sane
VTK-m
Commits
e5090e12
Commit
e5090e12
authored
Jul 03, 2018
by
Robert Maynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the PointLocatorUniform uses the correct runtime device
parent
38e0e4c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
vtkm/cont/cuda/testing/UnitTestCudaPointLocatorUniformGrid.cu
.../cont/cuda/testing/UnitTestCudaPointLocatorUniformGrid.cu
+2
-0
vtkm/cont/openmp/testing/UnitTestOpenMPPointLocatorUniformGrid.cxx
.../openmp/testing/UnitTestOpenMPPointLocatorUniformGrid.cxx
+2
-0
vtkm/cont/serial/testing/UnitTestSerialPointLocatorUniformGrid.cxx
.../serial/testing/UnitTestSerialPointLocatorUniformGrid.cxx
+2
-0
vtkm/cont/tbb/testing/UnitTestTBBPointLocatorUniformGrid.cxx
vtkm/cont/tbb/testing/UnitTestTBBPointLocatorUniformGrid.cxx
+2
-0
No files found.
vtkm/cont/cuda/testing/UnitTestCudaPointLocatorUniformGrid.cu
View file @
e5090e12
...
...
@@ -27,6 +27,8 @@
int
UnitTestCudaPointLocatorUniformGrid
(
int
,
char
*
[])
{
auto
tracker
=
vtkm
::
cont
::
GetGlobalRuntimeDeviceTracker
();
tracker
.
ForceDevice
(
vtkm
::
cont
::
DeviceAdapterTagCuda
{});
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingPointLocatorUniformGrid
<
vtkm
::
cont
::
DeviceAdapterTagCuda
>
());
}
vtkm/cont/openmp/testing/UnitTestOpenMPPointLocatorUniformGrid.cxx
View file @
e5090e12
...
...
@@ -25,6 +25,8 @@
int
UnitTestOpenMPPointLocatorUniformGrid
(
int
,
char
*
[])
{
auto
tracker
=
vtkm
::
cont
::
GetGlobalRuntimeDeviceTracker
();
tracker
.
ForceDevice
(
vtkm
::
cont
::
DeviceAdapterTagOpenMP
{});
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingPointLocatorUniformGrid
<
vtkm
::
cont
::
DeviceAdapterTagOpenMP
>
());
}
vtkm/cont/serial/testing/UnitTestSerialPointLocatorUniformGrid.cxx
View file @
e5090e12
...
...
@@ -27,6 +27,8 @@
int
UnitTestSerialPointLocatorUniformGrid
(
int
,
char
*
[])
{
auto
tracker
=
vtkm
::
cont
::
GetGlobalRuntimeDeviceTracker
();
tracker
.
ForceDevice
(
vtkm
::
cont
::
DeviceAdapterTagSerial
{});
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingPointLocatorUniformGrid
<
vtkm
::
cont
::
DeviceAdapterTagSerial
>
());
}
vtkm/cont/tbb/testing/UnitTestTBBPointLocatorUniformGrid.cxx
View file @
e5090e12
...
...
@@ -27,6 +27,8 @@
int
UnitTestTBBPointLocatorUniformGrid
(
int
,
char
*
[])
{
auto
tracker
=
vtkm
::
cont
::
GetGlobalRuntimeDeviceTracker
();
tracker
.
ForceDevice
(
vtkm
::
cont
::
DeviceAdapterTagTBB
{});
return
vtkm
::
cont
::
testing
::
Testing
::
Run
(
TestingPointLocatorUniformGrid
<
vtkm
::
cont
::
DeviceAdapterTagTBB
>
());
}
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