Viskores
1.0
viskores
cont
serial
internal
RuntimeDeviceConfigurationSerial.h
Go to the documentation of this file.
1
//============================================================================
2
// The contents of this file are covered by the Viskores license. See
3
// LICENSE.txt for details.
4
//
5
// By contributing to this file, all contributors agree to the Developer
6
// Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7
//============================================================================
8
9
//============================================================================
10
// Copyright (c) Kitware, Inc.
11
// All rights reserved.
12
// See LICENSE.txt for details.
13
//
14
// This software is distributed WITHOUT ANY WARRANTY; without even
15
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16
// PURPOSE. See the above copyright notice for more information.
17
//============================================================================
18
#ifndef viskores_cont_serial_internal_RuntimeDeviceConfigurationSerial_h
19
#define viskores_cont_serial_internal_RuntimeDeviceConfigurationSerial_h
20
21
#include <
viskores/cont/internal/RuntimeDeviceConfiguration.h
>
22
#include <
viskores/cont/serial/internal/DeviceAdapterTagSerial.h
>
23
24
namespace
viskores
25
{
26
namespace
cont
27
{
28
namespace
internal
29
{
30
31
template
<>
32
class
RuntimeDeviceConfiguration<
viskores
::cont::DeviceAdapterTagSerial>
33
:
public
viskores::cont::internal::RuntimeDeviceConfigurationBase
34
{
35
VISKORES_CONT
viskores::cont::DeviceAdapterId
GetDevice() const final
36
{
37
return
viskores::cont::DeviceAdapterTagSerial
{};
38
}
39
};
40
}
41
}
42
}
43
44
#endif //viskores_cont_serial_internal_RuntimeDeviceConfigurationSerial_h
DeviceAdapterTagSerial.h
VISKORES_CONT
#define VISKORES_CONT
Definition:
ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
viskores::cont::DeviceAdapterTagSerial
Tag for a device adapter that performs all computation on the same single thread as the control envir...
Definition:
DeviceAdapterTagSerial.h:30
RuntimeDeviceConfiguration.h
viskores::cont::DeviceAdapterId
An object used to specify a device.
Definition:
DeviceAdapterTag.h:66
Generated by
1.8.17