baoabmd 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaoabMD.js +928 -0
- package/CL/cl.h +1979 -0
- package/CL/cl_d3d10.h +268 -0
- package/CL/cl_d3d11.h +270 -0
- package/CL/cl_dx9_media_sharing.h +386 -0
- package/CL/cl_dx9_media_sharing_intel.h +18 -0
- package/CL/cl_egl.h +187 -0
- package/CL/cl_ext.h +4738 -0
- package/CL/cl_ext_intel.h +19 -0
- package/CL/cl_function_types.h +1199 -0
- package/CL/cl_gl.h +421 -0
- package/CL/cl_gl_ext.h +18 -0
- package/CL/cl_half.h +440 -0
- package/CL/cl_icd.h +349 -0
- package/CL/cl_layer.h +163 -0
- package/CL/cl_platform.h +1414 -0
- package/CL/cl_va_api_media_sharing_intel.h +220 -0
- package/CL/cl_version.h +85 -0
- package/CL/opencl.h +32 -0
- package/INSTRUCTIONS.txt +13 -0
- package/OpenCL.lib +0 -0
- package/binding.gyp +24 -0
- package/build/Release/forces.exp +0 -0
- package/build/Release/forces.iobj +0 -0
- package/build/Release/forces.ipdb +0 -0
- package/build/Release/forces.lib +0 -0
- package/build/Release/forces.node +0 -0
- package/build/Release/forces.pdb +0 -0
- package/build/Release/nothing.lib +0 -0
- package/build/Release/obj/forces/forces.node.recipe +11 -0
- package/build/Release/obj/forces/forces.obj +0 -0
- package/build/Release/obj/forces/forces.tlog/CL.command.1.tlog +0 -0
- package/build/Release/obj/forces/forces.tlog/CL.read.1.tlog +0 -0
- package/build/Release/obj/forces/forces.tlog/CL.write.1.tlog +0 -0
- package/build/Release/obj/forces/forces.tlog/Cl.items.tlog +2 -0
- package/build/Release/obj/forces/forces.tlog/forces.lastbuildstate +2 -0
- package/build/Release/obj/forces/forces.tlog/link.command.1.tlog +0 -0
- package/build/Release/obj/forces/forces.tlog/link.read.1.tlog +0 -0
- package/build/Release/obj/forces/forces.tlog/link.secondary.1.tlog +5 -0
- package/build/Release/obj/forces/forces.tlog/link.write.1.tlog +0 -0
- package/build/Release/obj/forces/win_delay_load_hook.obj +0 -0
- package/build/binding.sln +39 -0
- package/build/forces.vcxproj +156 -0
- package/build/forces.vcxproj.filters +46 -0
- package/extra xyz files/traj_GB1-10000s.xyz +451900 -0
- package/forces.cpp +194 -0
- package/package.json +26 -0
- package/pdb/1UBQ.pdb +970 -0
- package/pdb/1YRF.pdb +1467 -0
- package/pdb/input.pdb +4521 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2008-2026 The Khronos Group Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
******************************************************************************/
|
|
16
|
+
|
|
17
|
+
#ifndef OPENCL_CL_VA_API_MEDIA_SHARING_INTEL_H_
|
|
18
|
+
#define OPENCL_CL_VA_API_MEDIA_SHARING_INTEL_H_
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
** This header is generated from the Khronos OpenCL XML API Registry.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#include <va/va.h>
|
|
25
|
+
|
|
26
|
+
#include <CL/cl.h>
|
|
27
|
+
|
|
28
|
+
/* CL_NO_PROTOTYPES implies CL_NO_EXTENSION_PROTOTYPES: */
|
|
29
|
+
#if defined(CL_NO_PROTOTYPES) && !defined(CL_NO_EXTENSION_PROTOTYPES)
|
|
30
|
+
#define CL_NO_EXTENSION_PROTOTYPES
|
|
31
|
+
#endif
|
|
32
|
+
|
|
33
|
+
/* CL_NO_EXTENSION_PROTOTYPES implies
|
|
34
|
+
CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES and
|
|
35
|
+
CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES: */
|
|
36
|
+
#if defined(CL_NO_EXTENSION_PROTOTYPES) && \
|
|
37
|
+
!defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
|
38
|
+
#define CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES
|
|
39
|
+
#endif
|
|
40
|
+
#if defined(CL_NO_EXTENSION_PROTOTYPES) && \
|
|
41
|
+
!defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
|
42
|
+
#define CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES
|
|
43
|
+
#endif
|
|
44
|
+
|
|
45
|
+
#ifdef __cplusplus
|
|
46
|
+
extern "C" {
|
|
47
|
+
#endif
|
|
48
|
+
|
|
49
|
+
/***************************************************************
|
|
50
|
+
* cl_intel_sharing_format_query_va_api
|
|
51
|
+
***************************************************************/
|
|
52
|
+
#define cl_intel_sharing_format_query_va_api 1
|
|
53
|
+
#define CL_INTEL_SHARING_FORMAT_QUERY_VA_API_EXTENSION_NAME \
|
|
54
|
+
"cl_intel_sharing_format_query_va_api"
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
#define CL_INTEL_SHARING_FORMAT_QUERY_VA_API_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
|
58
|
+
|
|
59
|
+
/* when cl_intel_va_api_media_sharing is supported */
|
|
60
|
+
|
|
61
|
+
typedef cl_int CL_API_CALL
|
|
62
|
+
clGetSupportedVA_APIMediaSurfaceFormatsINTEL_t(
|
|
63
|
+
cl_context context,
|
|
64
|
+
cl_mem_flags flags,
|
|
65
|
+
cl_mem_object_type image_type,
|
|
66
|
+
cl_uint plane,
|
|
67
|
+
cl_uint num_entries,
|
|
68
|
+
VAImageFormat* va_api_formats,
|
|
69
|
+
cl_uint* num_surface_formats);
|
|
70
|
+
|
|
71
|
+
typedef clGetSupportedVA_APIMediaSurfaceFormatsINTEL_t *
|
|
72
|
+
clGetSupportedVA_APIMediaSurfaceFormatsINTEL_fn ;
|
|
73
|
+
|
|
74
|
+
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
|
75
|
+
|
|
76
|
+
extern CL_API_ENTRY cl_int CL_API_CALL
|
|
77
|
+
clGetSupportedVA_APIMediaSurfaceFormatsINTEL(
|
|
78
|
+
cl_context context,
|
|
79
|
+
cl_mem_flags flags,
|
|
80
|
+
cl_mem_object_type image_type,
|
|
81
|
+
cl_uint plane,
|
|
82
|
+
cl_uint num_entries,
|
|
83
|
+
VAImageFormat* va_api_formats,
|
|
84
|
+
cl_uint* num_surface_formats) ;
|
|
85
|
+
|
|
86
|
+
#endif /* !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES) */
|
|
87
|
+
|
|
88
|
+
/***************************************************************
|
|
89
|
+
* cl_intel_va_api_media_sharing
|
|
90
|
+
***************************************************************/
|
|
91
|
+
#define cl_intel_va_api_media_sharing 1
|
|
92
|
+
#define CL_INTEL_VA_API_MEDIA_SHARING_EXTENSION_NAME \
|
|
93
|
+
"cl_intel_va_api_media_sharing"
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
#define CL_INTEL_VA_API_MEDIA_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
|
97
|
+
|
|
98
|
+
typedef cl_uint cl_va_api_device_source_intel;
|
|
99
|
+
typedef cl_uint cl_va_api_device_set_intel;
|
|
100
|
+
|
|
101
|
+
/* Error codes */
|
|
102
|
+
#define CL_INVALID_VA_API_MEDIA_ADAPTER_INTEL -1098
|
|
103
|
+
#define CL_INVALID_VA_API_MEDIA_SURFACE_INTEL -1099
|
|
104
|
+
#define CL_VA_API_MEDIA_SURFACE_ALREADY_ACQUIRED_INTEL -1100
|
|
105
|
+
#define CL_VA_API_MEDIA_SURFACE_NOT_ACQUIRED_INTEL -1101
|
|
106
|
+
|
|
107
|
+
/* cl_va_api_device_source_intel */
|
|
108
|
+
#define CL_VA_API_DISPLAY_INTEL 0x4094
|
|
109
|
+
|
|
110
|
+
/* cl_va_api_device_set_intel */
|
|
111
|
+
#define CL_PREFERRED_DEVICES_FOR_VA_API_INTEL 0x4095
|
|
112
|
+
#define CL_ALL_DEVICES_FOR_VA_API_INTEL 0x4096
|
|
113
|
+
|
|
114
|
+
/* cl_context_info */
|
|
115
|
+
#define CL_CONTEXT_VA_API_DISPLAY_INTEL 0x4097
|
|
116
|
+
|
|
117
|
+
/* cl_mem_info */
|
|
118
|
+
#define CL_MEM_VA_API_MEDIA_SURFACE_INTEL 0x4098
|
|
119
|
+
|
|
120
|
+
/* cl_image_info */
|
|
121
|
+
#define CL_IMAGE_VA_API_PLANE_INTEL 0x4099
|
|
122
|
+
|
|
123
|
+
/* cl_command_type */
|
|
124
|
+
#define CL_COMMAND_ACQUIRE_VA_API_MEDIA_SURFACES_INTEL 0x409A
|
|
125
|
+
#define CL_COMMAND_RELEASE_VA_API_MEDIA_SURFACES_INTEL 0x409B
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
typedef cl_int CL_API_CALL
|
|
129
|
+
clGetDeviceIDsFromVA_APIMediaAdapterINTEL_t(
|
|
130
|
+
cl_platform_id platform,
|
|
131
|
+
cl_va_api_device_source_intel media_adapter_type,
|
|
132
|
+
void* media_adapter,
|
|
133
|
+
cl_va_api_device_set_intel media_adapter_set,
|
|
134
|
+
cl_uint num_entries,
|
|
135
|
+
cl_device_id* devices,
|
|
136
|
+
cl_uint* num_devices);
|
|
137
|
+
|
|
138
|
+
typedef clGetDeviceIDsFromVA_APIMediaAdapterINTEL_t *
|
|
139
|
+
clGetDeviceIDsFromVA_APIMediaAdapterINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
|
140
|
+
|
|
141
|
+
typedef cl_mem CL_API_CALL
|
|
142
|
+
clCreateFromVA_APIMediaSurfaceINTEL_t(
|
|
143
|
+
cl_context context,
|
|
144
|
+
cl_mem_flags flags,
|
|
145
|
+
VASurfaceID* surface,
|
|
146
|
+
cl_uint plane,
|
|
147
|
+
cl_int* errcode_ret);
|
|
148
|
+
|
|
149
|
+
typedef clCreateFromVA_APIMediaSurfaceINTEL_t *
|
|
150
|
+
clCreateFromVA_APIMediaSurfaceINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
|
151
|
+
|
|
152
|
+
typedef cl_int CL_API_CALL
|
|
153
|
+
clEnqueueAcquireVA_APIMediaSurfacesINTEL_t(
|
|
154
|
+
cl_command_queue command_queue,
|
|
155
|
+
cl_uint num_objects,
|
|
156
|
+
const cl_mem* mem_objects,
|
|
157
|
+
cl_uint num_events_in_wait_list,
|
|
158
|
+
const cl_event* event_wait_list,
|
|
159
|
+
cl_event* event);
|
|
160
|
+
|
|
161
|
+
typedef clEnqueueAcquireVA_APIMediaSurfacesINTEL_t *
|
|
162
|
+
clEnqueueAcquireVA_APIMediaSurfacesINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
|
163
|
+
|
|
164
|
+
typedef cl_int CL_API_CALL
|
|
165
|
+
clEnqueueReleaseVA_APIMediaSurfacesINTEL_t(
|
|
166
|
+
cl_command_queue command_queue,
|
|
167
|
+
cl_uint num_objects,
|
|
168
|
+
const cl_mem* mem_objects,
|
|
169
|
+
cl_uint num_events_in_wait_list,
|
|
170
|
+
const cl_event* event_wait_list,
|
|
171
|
+
cl_event* event);
|
|
172
|
+
|
|
173
|
+
typedef clEnqueueReleaseVA_APIMediaSurfacesINTEL_t *
|
|
174
|
+
clEnqueueReleaseVA_APIMediaSurfacesINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
|
175
|
+
|
|
176
|
+
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
|
177
|
+
|
|
178
|
+
extern CL_API_ENTRY cl_int CL_API_CALL
|
|
179
|
+
clGetDeviceIDsFromVA_APIMediaAdapterINTEL(
|
|
180
|
+
cl_platform_id platform,
|
|
181
|
+
cl_va_api_device_source_intel media_adapter_type,
|
|
182
|
+
void* media_adapter,
|
|
183
|
+
cl_va_api_device_set_intel media_adapter_set,
|
|
184
|
+
cl_uint num_entries,
|
|
185
|
+
cl_device_id* devices,
|
|
186
|
+
cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
|
|
187
|
+
|
|
188
|
+
extern CL_API_ENTRY cl_mem CL_API_CALL
|
|
189
|
+
clCreateFromVA_APIMediaSurfaceINTEL(
|
|
190
|
+
cl_context context,
|
|
191
|
+
cl_mem_flags flags,
|
|
192
|
+
VASurfaceID* surface,
|
|
193
|
+
cl_uint plane,
|
|
194
|
+
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
|
195
|
+
|
|
196
|
+
extern CL_API_ENTRY cl_int CL_API_CALL
|
|
197
|
+
clEnqueueAcquireVA_APIMediaSurfacesINTEL(
|
|
198
|
+
cl_command_queue command_queue,
|
|
199
|
+
cl_uint num_objects,
|
|
200
|
+
const cl_mem* mem_objects,
|
|
201
|
+
cl_uint num_events_in_wait_list,
|
|
202
|
+
const cl_event* event_wait_list,
|
|
203
|
+
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
|
204
|
+
|
|
205
|
+
extern CL_API_ENTRY cl_int CL_API_CALL
|
|
206
|
+
clEnqueueReleaseVA_APIMediaSurfacesINTEL(
|
|
207
|
+
cl_command_queue command_queue,
|
|
208
|
+
cl_uint num_objects,
|
|
209
|
+
const cl_mem* mem_objects,
|
|
210
|
+
cl_uint num_events_in_wait_list,
|
|
211
|
+
const cl_event* event_wait_list,
|
|
212
|
+
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
|
213
|
+
|
|
214
|
+
#endif /* !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES) */
|
|
215
|
+
|
|
216
|
+
#ifdef __cplusplus
|
|
217
|
+
}
|
|
218
|
+
#endif
|
|
219
|
+
|
|
220
|
+
#endif /* OPENCL_CL_VA_API_MEDIA_SHARING_INTEL_H_ */
|
package/CL/cl_version.h
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2018-2026 The Khronos Group Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
******************************************************************************/
|
|
16
|
+
|
|
17
|
+
#ifndef __CL_VERSION_H
|
|
18
|
+
#define __CL_VERSION_H
|
|
19
|
+
|
|
20
|
+
/* Detect which version to target */
|
|
21
|
+
#if !defined(CL_TARGET_OPENCL_VERSION)
|
|
22
|
+
#pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 310 (OpenCL 3.1)")
|
|
23
|
+
#define CL_TARGET_OPENCL_VERSION 310
|
|
24
|
+
#endif
|
|
25
|
+
#if CL_TARGET_OPENCL_VERSION != 100 && \
|
|
26
|
+
CL_TARGET_OPENCL_VERSION != 110 && \
|
|
27
|
+
CL_TARGET_OPENCL_VERSION != 120 && \
|
|
28
|
+
CL_TARGET_OPENCL_VERSION != 200 && \
|
|
29
|
+
CL_TARGET_OPENCL_VERSION != 210 && \
|
|
30
|
+
CL_TARGET_OPENCL_VERSION != 220 && \
|
|
31
|
+
CL_TARGET_OPENCL_VERSION != 300 && \
|
|
32
|
+
CL_TARGET_OPENCL_VERSION != 310
|
|
33
|
+
#pragma message("cl_version: CL_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200, 210, 220, 300, 310). Defaulting to 310 (OpenCL 3.1)")
|
|
34
|
+
#undef CL_TARGET_OPENCL_VERSION
|
|
35
|
+
#define CL_TARGET_OPENCL_VERSION 310
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/* OpenCL Version */
|
|
40
|
+
#if CL_TARGET_OPENCL_VERSION >= 310 && !defined(CL_VERSION_3_1)
|
|
41
|
+
#define CL_VERSION_3_1 1
|
|
42
|
+
#endif
|
|
43
|
+
#if CL_TARGET_OPENCL_VERSION >= 300 && !defined(CL_VERSION_3_0)
|
|
44
|
+
#define CL_VERSION_3_0 1
|
|
45
|
+
#endif
|
|
46
|
+
#if CL_TARGET_OPENCL_VERSION >= 220 && !defined(CL_VERSION_2_2)
|
|
47
|
+
#define CL_VERSION_2_2 1
|
|
48
|
+
#endif
|
|
49
|
+
#if CL_TARGET_OPENCL_VERSION >= 210 && !defined(CL_VERSION_2_1)
|
|
50
|
+
#define CL_VERSION_2_1 1
|
|
51
|
+
#endif
|
|
52
|
+
#if CL_TARGET_OPENCL_VERSION >= 200 && !defined(CL_VERSION_2_0)
|
|
53
|
+
#define CL_VERSION_2_0 1
|
|
54
|
+
#endif
|
|
55
|
+
#if CL_TARGET_OPENCL_VERSION >= 120 && !defined(CL_VERSION_1_2)
|
|
56
|
+
#define CL_VERSION_1_2 1
|
|
57
|
+
#endif
|
|
58
|
+
#if CL_TARGET_OPENCL_VERSION >= 110 && !defined(CL_VERSION_1_1)
|
|
59
|
+
#define CL_VERSION_1_1 1
|
|
60
|
+
#endif
|
|
61
|
+
#if CL_TARGET_OPENCL_VERSION >= 100 && !defined(CL_VERSION_1_0)
|
|
62
|
+
#define CL_VERSION_1_0 1
|
|
63
|
+
#endif
|
|
64
|
+
|
|
65
|
+
/* Allow deprecated APIs for older OpenCL versions. */
|
|
66
|
+
#if CL_TARGET_OPENCL_VERSION <= 220 && !defined(CL_USE_DEPRECATED_OPENCL_2_2_APIS)
|
|
67
|
+
#define CL_USE_DEPRECATED_OPENCL_2_2_APIS
|
|
68
|
+
#endif
|
|
69
|
+
#if CL_TARGET_OPENCL_VERSION <= 210 && !defined(CL_USE_DEPRECATED_OPENCL_2_1_APIS)
|
|
70
|
+
#define CL_USE_DEPRECATED_OPENCL_2_1_APIS
|
|
71
|
+
#endif
|
|
72
|
+
#if CL_TARGET_OPENCL_VERSION <= 200 && !defined(CL_USE_DEPRECATED_OPENCL_2_0_APIS)
|
|
73
|
+
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
|
74
|
+
#endif
|
|
75
|
+
#if CL_TARGET_OPENCL_VERSION <= 120 && !defined(CL_USE_DEPRECATED_OPENCL_1_2_APIS)
|
|
76
|
+
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
|
|
77
|
+
#endif
|
|
78
|
+
#if CL_TARGET_OPENCL_VERSION <= 110 && !defined(CL_USE_DEPRECATED_OPENCL_1_1_APIS)
|
|
79
|
+
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
|
80
|
+
#endif
|
|
81
|
+
#if CL_TARGET_OPENCL_VERSION <= 100 && !defined(CL_USE_DEPRECATED_OPENCL_1_0_APIS)
|
|
82
|
+
#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
|
|
83
|
+
#endif
|
|
84
|
+
|
|
85
|
+
#endif /* __CL_VERSION_H */
|
package/CL/opencl.h
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2008-2026 The Khronos Group Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
******************************************************************************/
|
|
16
|
+
|
|
17
|
+
#ifndef __OPENCL_H
|
|
18
|
+
#define __OPENCL_H
|
|
19
|
+
|
|
20
|
+
#ifdef __cplusplus
|
|
21
|
+
extern "C" {
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
#include <CL/cl.h>
|
|
25
|
+
#include <CL/cl_gl.h>
|
|
26
|
+
#include <CL/cl_ext.h>
|
|
27
|
+
|
|
28
|
+
#ifdef __cplusplus
|
|
29
|
+
}
|
|
30
|
+
#endif
|
|
31
|
+
|
|
32
|
+
#endif /* __OPENCL_H */
|
package/INSTRUCTIONS.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
1. To run the program you have to go into the main folder "BaoabMD", then click the directory and type in cmd and then click enter to open cmd at the location of the folder. You can also just use cd to navigate to it.
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
2. Once in terminal you just need to type "node BaoabMD.js" and run it, if there are any errors you probably just have missing dependencies that you need to download.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
3. Now once it is showing you can put your pdb files in the pdb folder and then use "pdb/input.pdb", replace input with your file name if you want to use a custom one.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
4. Now run the simulation for however long you want. I recommend a 100/1 ratio so if you do a 1000 step simulation log it every 10 steps to make 100 frames in total.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
5. Now just wait for it to finish and then your traj.xyz file will apear in the main folder. You can view it with PyMol or OVITO.
|
package/OpenCL.lib
ADDED
|
Binary file
|
package/binding.gyp
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": [
|
|
3
|
+
{
|
|
4
|
+
"target_name": "forces",
|
|
5
|
+
"sources": [ "forces.cpp" ],
|
|
6
|
+
"include_dirs": [
|
|
7
|
+
"<(module_root_dir)",
|
|
8
|
+
"<!@(node -p \"require('node-addon-api').include\")"
|
|
9
|
+
],
|
|
10
|
+
"dependencies": [
|
|
11
|
+
"<!(node -p \"require('node-addon-api').gyp\")"
|
|
12
|
+
],
|
|
13
|
+
"library_dirs": [
|
|
14
|
+
"<(module_root_dir)"
|
|
15
|
+
],
|
|
16
|
+
"libraries": [
|
|
17
|
+
"OpenCL.lib"
|
|
18
|
+
],
|
|
19
|
+
"cflags!": [ "-fno-exceptions" ],
|
|
20
|
+
"cflags_cc!": [ "-fno-exceptions" ],
|
|
21
|
+
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project>
|
|
3
|
+
<ProjectOutputs>
|
|
4
|
+
<ProjectOutput>
|
|
5
|
+
<FullPath>C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\forces.node</FullPath>
|
|
6
|
+
</ProjectOutput>
|
|
7
|
+
</ProjectOutputs>
|
|
8
|
+
<ContentFiles />
|
|
9
|
+
<SatelliteDlls />
|
|
10
|
+
<NonRecipeFileRefs />
|
|
11
|
+
</Project>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
C:\Users\Zander Champion\Desktop\BaoabMD\forces.cpp;C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\obj\forces\forces.obj
|
|
2
|
+
C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc;C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\obj\forces\win_delay_load_hook.obj
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
PlatformToolSet=v145:VCToolArchitecture=Native64Bit:VCToolsVersion=14.51.36231:VCServicingVersionATL=14.51.36244:VCServicingVersionCrtHeaders=14.51.36244:VCServicingVersionCompilers=14.51.36256:TargetPlatformVersion=10.0.26100.0:
|
|
2
|
+
Release|x64|C:\Users\Zander Champion\Desktop\BaoabMD\build\|
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
^C:\USERS\ZANDER CHAMPION\DESKTOP\BAOABMD\BUILD\RELEASE\NOTHING.LIB|C:\USERS\ZANDER CHAMPION\DESKTOP\BAOABMD\BUILD\RELEASE\OBJ\FORCES\FORCES.OBJ|C:\USERS\ZANDER CHAMPION\DESKTOP\BAOABMD\BUILD\RELEASE\OBJ\FORCES\WIN_DELAY_LOAD_HOOK.OBJ
|
|
2
|
+
C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\forces.LIB
|
|
3
|
+
C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\forces.EXP
|
|
4
|
+
C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\forces.IPDB
|
|
5
|
+
C:\Users\Zander Champion\Desktop\BaoabMD\build\Release\forces.IOBJ
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
2
|
+
# Visual Studio 2015
|
|
3
|
+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "(..)", "..\..", "{4D5635DD-F765-2416-1825-649C5AA6477E}"
|
|
4
|
+
EndProject
|
|
5
|
+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "(node_modules)", "..\..\node_modules", "{61B65D11-92C2-AF21-4F39-ED07BCFC3AA5}"
|
|
6
|
+
EndProject
|
|
7
|
+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "(node-addon-api)", "..\..\node_modules\node-addon-api", "{FBB28A62-907A-2CA9-4538-A1EA3E60A420}"
|
|
8
|
+
EndProject
|
|
9
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nothing", "..\node_modules\node-addon-api\nothing.vcxproj", "{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}"
|
|
10
|
+
EndProject
|
|
11
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "forces", "forces.vcxproj", "{9537B19F-75D4-2237-7517-8A5184D95386}"
|
|
12
|
+
ProjectSection(ProjectDependencies) = postProject
|
|
13
|
+
{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9} = {2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}
|
|
14
|
+
EndProjectSection
|
|
15
|
+
EndProject
|
|
16
|
+
Global
|
|
17
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
18
|
+
Debug|x64 = Debug|x64
|
|
19
|
+
Release|x64 = Release|x64
|
|
20
|
+
EndGlobalSection
|
|
21
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
22
|
+
{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}.Debug|x64.ActiveCfg = Debug|x64
|
|
23
|
+
{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}.Debug|x64.Build.0 = Debug|x64
|
|
24
|
+
{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}.Release|x64.ActiveCfg = Release|x64
|
|
25
|
+
{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}.Release|x64.Build.0 = Release|x64
|
|
26
|
+
{9537B19F-75D4-2237-7517-8A5184D95386}.Debug|x64.ActiveCfg = Debug|x64
|
|
27
|
+
{9537B19F-75D4-2237-7517-8A5184D95386}.Debug|x64.Build.0 = Debug|x64
|
|
28
|
+
{9537B19F-75D4-2237-7517-8A5184D95386}.Release|x64.ActiveCfg = Release|x64
|
|
29
|
+
{9537B19F-75D4-2237-7517-8A5184D95386}.Release|x64.Build.0 = Release|x64
|
|
30
|
+
EndGlobalSection
|
|
31
|
+
GlobalSection(SolutionProperties) = preSolution
|
|
32
|
+
HideSolutionNode = FALSE
|
|
33
|
+
EndGlobalSection
|
|
34
|
+
GlobalSection(NestedProjects) = preSolution
|
|
35
|
+
{61B65D11-92C2-AF21-4F39-ED07BCFC3AA5} = {4D5635DD-F765-2416-1825-649C5AA6477E}
|
|
36
|
+
{FBB28A62-907A-2CA9-4538-A1EA3E60A420} = {61B65D11-92C2-AF21-4F39-ED07BCFC3AA5}
|
|
37
|
+
{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9} = {FBB28A62-907A-2CA9-4538-A1EA3E60A420}
|
|
38
|
+
EndGlobalSection
|
|
39
|
+
EndGlobal
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
+
<ProjectConfiguration Include="Debug|x64">
|
|
5
|
+
<Configuration>Debug</Configuration>
|
|
6
|
+
<Platform>x64</Platform>
|
|
7
|
+
</ProjectConfiguration>
|
|
8
|
+
<ProjectConfiguration Include="Release|x64">
|
|
9
|
+
<Configuration>Release</Configuration>
|
|
10
|
+
<Platform>x64</Platform>
|
|
11
|
+
</ProjectConfiguration>
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
<PropertyGroup Label="Globals">
|
|
14
|
+
<ProjectGuid>{9537B19F-75D4-2237-7517-8A5184D95386}</ProjectGuid>
|
|
15
|
+
<Keyword>Win32Proj</Keyword>
|
|
16
|
+
<RootNamespace>forces</RootNamespace>
|
|
17
|
+
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
|
18
|
+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
|
19
|
+
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
|
|
20
|
+
</PropertyGroup>
|
|
21
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
|
22
|
+
<PropertyGroup Label="Configuration">
|
|
23
|
+
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
24
|
+
</PropertyGroup>
|
|
25
|
+
<PropertyGroup Label="Locals">
|
|
26
|
+
<PlatformToolset>v145</PlatformToolset>
|
|
27
|
+
</PropertyGroup>
|
|
28
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
|
29
|
+
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/>
|
|
30
|
+
<ImportGroup Label="ExtensionSettings"/>
|
|
31
|
+
<ImportGroup Label="PropertySheets">
|
|
32
|
+
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
|
33
|
+
</ImportGroup>
|
|
34
|
+
<PropertyGroup Label="UserMacros"/>
|
|
35
|
+
<PropertyGroup>
|
|
36
|
+
<ExecutablePath>$(ExecutablePath);$(MSBuildProjectDirectory)\..\bin\;$(MSBuildProjectDirectory)\..\bin\</ExecutablePath>
|
|
37
|
+
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
|
38
|
+
<IntDir>$(Configuration)\obj\$(ProjectName)\</IntDir>
|
|
39
|
+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
|
40
|
+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
|
41
|
+
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
|
42
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
|
|
43
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
|
|
44
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
|
|
45
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
|
|
46
|
+
<TargetName>$(ProjectName)</TargetName>
|
|
47
|
+
<TargetPath>$(OutDir)\$(ProjectName).node</TargetPath>
|
|
48
|
+
</PropertyGroup>
|
|
49
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
50
|
+
<ClCompile>
|
|
51
|
+
<AdditionalIncludeDirectories>C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\include\node;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\src;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\config;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\openssl\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\uv\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\zlib;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\v8\include;C:\Users\Zander Champion\Desktop\BaoabMD;C:\Users\Zander Champion\Desktop\node_modules\node-addon-api;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
52
|
+
<AdditionalOptions>/Zc:__cplusplus -std:c++20 /Zm2000 %(AdditionalOptions)</AdditionalOptions>
|
|
53
|
+
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
54
|
+
<BufferSecurityCheck>true</BufferSecurityCheck>
|
|
55
|
+
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
|
56
|
+
<DisableSpecificWarnings>4351;4355;4800;4251;4275;4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
57
|
+
<ExceptionHandling>false</ExceptionHandling>
|
|
58
|
+
<MinimalRebuild>false</MinimalRebuild>
|
|
59
|
+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
60
|
+
<OmitFramePointers>false</OmitFramePointers>
|
|
61
|
+
<Optimization>Disabled</Optimization>
|
|
62
|
+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
63
|
+
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=forces;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;_GLIBCXX_USE_CXX11_ABI=1;_FILE_OFFSET_BITS=64;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;NOMINMAX;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;NAPI_DISABLE_CPP_EXCEPTIONS;BUILDING_NODE_EXTENSION;HOST_BINARY="node.exe";DEBUG;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
64
|
+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
65
|
+
<StringPooling>true</StringPooling>
|
|
66
|
+
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
67
|
+
<TreatWarningAsError>false</TreatWarningAsError>
|
|
68
|
+
<WarningLevel>Level3</WarningLevel>
|
|
69
|
+
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
70
|
+
</ClCompile>
|
|
71
|
+
<Lib>
|
|
72
|
+
<AdditionalOptions>/LTCG:INCREMENTAL %(AdditionalOptions)</AdditionalOptions>
|
|
73
|
+
</Lib>
|
|
74
|
+
<Link>
|
|
75
|
+
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;delayimp.lib;"C:\\Users\\Zander Champion\\AppData\\Local\\node-gyp\\Cache\\24.19.0\\x64\\node.lib";OpenCL.lib</AdditionalDependencies>
|
|
76
|
+
<AdditionalLibraryDirectories>C:\Users\Zander Champion\Desktop\BaoabMD;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
77
|
+
<AdditionalOptions>/LTCG:INCREMENTAL /ignore:4199 %(AdditionalOptions)</AdditionalOptions>
|
|
78
|
+
<DelayLoadDLLs>node.exe;%(DelayLoadDLLs)</DelayLoadDLLs>
|
|
79
|
+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
80
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
81
|
+
<OptimizeReferences>true</OptimizeReferences>
|
|
82
|
+
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
|
|
83
|
+
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
84
|
+
<TargetExt>.node</TargetExt>
|
|
85
|
+
<TargetMachine>MachineX64</TargetMachine>
|
|
86
|
+
</Link>
|
|
87
|
+
<ResourceCompile>
|
|
88
|
+
<AdditionalIncludeDirectories>C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\include\node;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\src;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\config;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\openssl\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\uv\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\zlib;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\v8\include;C:\Users\Zander Champion\Desktop\BaoabMD;C:\Users\Zander Champion\Desktop\node_modules\node-addon-api;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
89
|
+
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=forces;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;_GLIBCXX_USE_CXX11_ABI=1;_FILE_OFFSET_BITS=64;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;NOMINMAX;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;NAPI_DISABLE_CPP_EXCEPTIONS;BUILDING_NODE_EXTENSION;HOST_BINARY="node.exe";DEBUG;_DEBUG;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
90
|
+
</ResourceCompile>
|
|
91
|
+
</ItemDefinitionGroup>
|
|
92
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
93
|
+
<ClCompile>
|
|
94
|
+
<AdditionalIncludeDirectories>C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\include\node;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\src;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\config;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\openssl\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\uv\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\zlib;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\v8\include;C:\Users\Zander Champion\Desktop\BaoabMD;C:\Users\Zander Champion\Desktop\node_modules\node-addon-api;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
95
|
+
<AdditionalOptions>/Zc:__cplusplus -std:c++20 /Zm2000 %(AdditionalOptions)</AdditionalOptions>
|
|
96
|
+
<BufferSecurityCheck>true</BufferSecurityCheck>
|
|
97
|
+
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
|
98
|
+
<DisableSpecificWarnings>4351;4355;4800;4251;4275;4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
99
|
+
<ExceptionHandling>false</ExceptionHandling>
|
|
100
|
+
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
101
|
+
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
102
|
+
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
103
|
+
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
104
|
+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
105
|
+
<OmitFramePointers>true</OmitFramePointers>
|
|
106
|
+
<Optimization>Full</Optimization>
|
|
107
|
+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
108
|
+
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=forces;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;_GLIBCXX_USE_CXX11_ABI=1;_FILE_OFFSET_BITS=64;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;NOMINMAX;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;NAPI_DISABLE_CPP_EXCEPTIONS;BUILDING_NODE_EXTENSION;HOST_BINARY="node.exe";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
109
|
+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
110
|
+
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
|
111
|
+
<StringPooling>true</StringPooling>
|
|
112
|
+
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
113
|
+
<TreatWarningAsError>false</TreatWarningAsError>
|
|
114
|
+
<WarningLevel>Level3</WarningLevel>
|
|
115
|
+
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
116
|
+
</ClCompile>
|
|
117
|
+
<Lib>
|
|
118
|
+
<AdditionalOptions>/LTCG:INCREMENTAL %(AdditionalOptions)</AdditionalOptions>
|
|
119
|
+
</Lib>
|
|
120
|
+
<Link>
|
|
121
|
+
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;delayimp.lib;"C:\\Users\\Zander Champion\\AppData\\Local\\node-gyp\\Cache\\24.19.0\\x64\\node.lib";OpenCL.lib</AdditionalDependencies>
|
|
122
|
+
<AdditionalLibraryDirectories>C:\Users\Zander Champion\Desktop\BaoabMD;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
123
|
+
<AdditionalOptions>/LTCG:INCREMENTAL /ignore:4199 %(AdditionalOptions)</AdditionalOptions>
|
|
124
|
+
<DelayLoadDLLs>node.exe;%(DelayLoadDLLs)</DelayLoadDLLs>
|
|
125
|
+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
126
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
127
|
+
<OptimizeReferences>true</OptimizeReferences>
|
|
128
|
+
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
|
|
129
|
+
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
130
|
+
<TargetExt>.node</TargetExt>
|
|
131
|
+
<TargetMachine>MachineX64</TargetMachine>
|
|
132
|
+
</Link>
|
|
133
|
+
<ResourceCompile>
|
|
134
|
+
<AdditionalIncludeDirectories>C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\include\node;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\src;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\config;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\openssl\openssl\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\uv\include;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\zlib;C:\Users\Zander Champion\AppData\Local\node-gyp\Cache\24.19.0\deps\v8\include;C:\Users\Zander Champion\Desktop\BaoabMD;C:\Users\Zander Champion\Desktop\node_modules\node-addon-api;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
135
|
+
<PreprocessorDefinitions>NODE_GYP_MODULE_NAME=forces;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;_GLIBCXX_USE_CXX11_ABI=1;_FILE_OFFSET_BITS=64;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;NOMINMAX;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;NAPI_DISABLE_CPP_EXCEPTIONS;BUILDING_NODE_EXTENSION;HOST_BINARY="node.exe";%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
136
|
+
</ResourceCompile>
|
|
137
|
+
</ItemDefinitionGroup>
|
|
138
|
+
<ItemGroup>
|
|
139
|
+
<None Include="..\binding.gyp"/>
|
|
140
|
+
</ItemGroup>
|
|
141
|
+
<ItemGroup>
|
|
142
|
+
<ClCompile Include="..\forces.cpp">
|
|
143
|
+
<ObjectFileName>$(IntDir)\forces.obj</ObjectFileName>
|
|
144
|
+
</ClCompile>
|
|
145
|
+
<ClCompile Include="C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc"/>
|
|
146
|
+
</ItemGroup>
|
|
147
|
+
<ItemGroup>
|
|
148
|
+
<ProjectReference Include="..\node_modules\node-addon-api\nothing.vcxproj">
|
|
149
|
+
<Project>{2E5C64B7-4A30-3A0A-C7A7-BB4F913C64E9}</Project>
|
|
150
|
+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
151
|
+
</ProjectReference>
|
|
152
|
+
</ItemGroup>
|
|
153
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
|
154
|
+
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/>
|
|
155
|
+
<ImportGroup Label="ExtensionTargets"/>
|
|
156
|
+
</Project>
|