mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Merge topic 'correct_namespace_for_ChooseCudaDevice'
2f98cdf7 Resolves Issue #56: ChooseCudaDevice functions are in the proper namespace. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !347
This commit is contained in:
commit
7c84e32835
@ -27,8 +27,8 @@
|
||||
#include <vector>
|
||||
|
||||
namespace vtkm{
|
||||
namespace cuda{
|
||||
namespace cont {
|
||||
namespace cuda{
|
||||
|
||||
namespace {
|
||||
struct compute_info
|
||||
|
@ -100,7 +100,7 @@ public:
|
||||
}
|
||||
|
||||
#ifdef VTKM_CUDA
|
||||
int id = vtkm::cuda::cont::FindFastestDeviceId();
|
||||
int id = vtkm::cont::cuda::FindFastestDeviceId();
|
||||
vtkm::opengl::cuda::SetCudaGLDevice(id);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user