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