Tinker9
70bd052 (Thu Nov 9 12:11:35 2023 -0800)
Loading...
Searching...
No Matches
include
tool
platform.h
1
#pragma once
2
#include "tool/rcman.h"
3
4
namespace
tinker
{
7
enum class
Platform
8
{
9
UNKNOWN
= 0x000,
10
ACC
= 0x001,
11
CUDA
= 0x002
12
};
13
TINKER_ENABLE_ENUM_BITMASK
(
Platform
);
14
16
void
platformData
(
RcOp
);
17
}
18
19
//====================================================================//
20
// //
21
// Global Variables //
22
// //
23
//====================================================================//
24
25
namespace
tinker
{
27
TINKER_EXTERN
Platform
pltfm_config
;
28
}
TINKER_EXTERN
#define TINKER_EXTERN
Definition:
macro.h:108
tinker::pltfm_config
Platform pltfm_config
tinker::Platform
Platform
Definition:
platform.h:8
tinker::platformData
void platformData(RcOp)
tinker::Platform::UNKNOWN
@ UNKNOWN
Flag for the unknown platform.
tinker::Platform::CUDA
@ CUDA
Flag for the CUDA platform.
tinker::Platform::ACC
@ ACC
Flag for the OpenACC platform.
TINKER_ENABLE_ENUM_BITMASK
#define TINKER_ENABLE_ENUM_BITMASK(x)
Explicitly enables mathematical calculation by casting enum class to integer.
Definition:
rcman.h:20
tinker::ResourceOperation
ResourceOperation
Definition:
rcman.h:46
tinker
Definition:
testrt.h:9
Generated by
1.9.5