| 1 |
/* CUDA stub header |
| 2 |
* |
| 3 |
* This library is free software; you can redistribute it and/or |
| 4 |
* modify it under the terms of the GNU Library General Public |
| 5 |
* License as published by the Free Software Foundation; either |
| 6 |
* version 2 of the License, or (at your option) any later version. |
| 7 |
* |
| 8 |
* This library is distributed in the hope that it will be useful, |
| 9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 11 |
* Library General Public License for more details. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU Library General Public |
| 14 |
* License along with this library; if not, write to the |
| 15 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
| 16 |
* Boston, MA 02110-1301, USA. |
| 17 |
*/ |
| 18 |
|
| 19 |
#pragma once |
| 20 |
|
| 21 |
#include <glib.h> |
| 22 |
|
| 23 |
G_BEGIN_DECLS |
| 24 |
|
| 25 |
enum cudaError |
| 26 |
{ |
| 27 |
cudaSuccess = 0, |
| 28 |
cudaErrorInvalidValue = 1, |
| 29 |
cudaErrorMemoryAllocation = 2, |
| 30 |
cudaErrorInitializationError = 3, |
| 31 |
cudaErrorCudartUnloading = 4, |
| 32 |
cudaErrorProfilerDisabled = 5, |
| 33 |
cudaErrorProfilerNotInitialized = 6, |
| 34 |
cudaErrorProfilerAlreadyStarted = 7, |
| 35 |
cudaErrorProfilerAlreadyStopped = 8, |
| 36 |
cudaErrorInvalidConfiguration = 9, |
| 37 |
cudaErrorInvalidPitchValue = 12, |
| 38 |
cudaErrorInvalidSymbol = 13, |
| 39 |
cudaErrorInvalidHostPointer = 16, |
| 40 |
cudaErrorInvalidDevicePointer = 17, |
| 41 |
cudaErrorInvalidTexture = 18, |
| 42 |
cudaErrorInvalidTextureBinding = 19, |
| 43 |
cudaErrorInvalidChannelDescriptor = 20, |
| 44 |
cudaErrorInvalidMemcpyDirection = 21, |
| 45 |
cudaErrorAddressOfConstant = 22, |
| 46 |
cudaErrorTextureFetchFailed = 23, |
| 47 |
cudaErrorTextureNotBound = 24, |
| 48 |
cudaErrorSynchronizationError = 25, |
| 49 |
cudaErrorInvalidFilterSetting = 26, |
| 50 |
cudaErrorInvalidNormSetting = 27, |
| 51 |
cudaErrorMixedDeviceExecution = 28, |
| 52 |
cudaErrorNotYetImplemented = 31, |
| 53 |
cudaErrorMemoryValueTooLarge = 32, |
| 54 |
cudaErrorStubLibrary = 34, |
| 55 |
cudaErrorInsufficientDriver = 35, |
| 56 |
cudaErrorCallRequiresNewerDriver = 36, |
| 57 |
cudaErrorInvalidSurface = 37, |
| 58 |
cudaErrorDuplicateVariableName = 43, |
| 59 |
cudaErrorDuplicateTextureName = 44, |
| 60 |
cudaErrorDuplicateSurfaceName = 45, |
| 61 |
cudaErrorDevicesUnavailable = 46, |
| 62 |
cudaErrorIncompatibleDriverContext = 49, |
| 63 |
cudaErrorMissingConfiguration = 52, |
| 64 |
cudaErrorPriorLaunchFailure = 53, |
| 65 |
cudaErrorLaunchMaxDepthExceeded = 65, |
| 66 |
cudaErrorLaunchFileScopedTex = 66, |
| 67 |
cudaErrorLaunchFileScopedSurf = 67, |
| 68 |
cudaErrorSyncDepthExceeded = 68, |
| 69 |
cudaErrorLaunchPendingCountExceeded = 69, |
| 70 |
cudaErrorInvalidDeviceFunction = 98, |
| 71 |
cudaErrorNoDevice = 100, |
| 72 |
cudaErrorInvalidDevice = 101, |
| 73 |
cudaErrorDeviceNotLicensed = 102, |
| 74 |
cudaErrorSoftwareValidityNotEstablished = 103, |
| 75 |
cudaErrorInvalidKernelImage = 200, |
| 76 |
cudaErrorDeviceUninitialized = 201, |
| 77 |
cudaErrorMapBufferObjectFailed = 205, |
| 78 |
cudaErrorUnmapBufferObjectFailed = 206, |
| 79 |
cudaErrorArrayIsMapped = 207, |
| 80 |
cudaErrorAlreadyMapped = 208, |
| 81 |
cudaErrorNoKernelImageForDevice = 209, |
| 82 |
cudaErrorAlreadyAcquired = 210, |
| 83 |
cudaErrorNotMapped = 211, |
| 84 |
cudaErrorNotMappedAsArray = 212, |
| 85 |
cudaErrorNotMappedAsPointer = 213, |
| 86 |
cudaErrorECCUncorrectable = 214, |
| 87 |
cudaErrorUnsupportedLimit = 215, |
| 88 |
cudaErrorDeviceAlreadyInUse = 216, |
| 89 |
cudaErrorPeerAccessUnsupported = 217, |
| 90 |
cudaErrorInvalidPtx = 218, |
| 91 |
cudaErrorInvalidGraphicsContext = 219, |
| 92 |
cudaErrorNvlinkUncorrectable = 220, |
| 93 |
cudaErrorJitCompilerNotFound = 221, |
| 94 |
cudaErrorUnsupportedPtxVersion = 222, |
| 95 |
cudaErrorJitCompilationDisabled = 223, |
| 96 |
cudaErrorUnsupportedExecAffinity = 224, |
| 97 |
cudaErrorUnsupportedDevSideSync = 225, |
| 98 |
cudaErrorInvalidSource = 300, |
| 99 |
cudaErrorFileNotFound = 301, |
| 100 |
cudaErrorSharedObjectSymbolNotFound = 302, |
| 101 |
cudaErrorSharedObjectInitFailed = 303, |
| 102 |
cudaErrorOperatingSystem = 304, |
| 103 |
cudaErrorInvalidResourceHandle = 400, |
| 104 |
cudaErrorIllegalState = 401, |
| 105 |
cudaErrorLossyQuery = 402, |
| 106 |
cudaErrorSymbolNotFound = 500, |
| 107 |
cudaErrorNotReady = 600, |
| 108 |
cudaErrorIllegalAddress = 700, |
| 109 |
cudaErrorLaunchOutOfResources = 701, |
| 110 |
cudaErrorLaunchTimeout = 702, |
| 111 |
cudaErrorLaunchIncompatibleTexturing = 703, |
| 112 |
cudaErrorPeerAccessAlreadyEnabled = 704, |
| 113 |
cudaErrorPeerAccessNotEnabled = 705, |
| 114 |
cudaErrorSetOnActiveProcess = 708, |
| 115 |
cudaErrorContextIsDestroyed = 709, |
| 116 |
cudaErrorAssert = 710, |
| 117 |
cudaErrorTooManyPeers = 711, |
| 118 |
cudaErrorHostMemoryAlreadyRegistered = 712, |
| 119 |
cudaErrorHostMemoryNotRegistered = 713, |
| 120 |
cudaErrorHardwareStackError = 714, |
| 121 |
cudaErrorIllegalInstruction = 715, |
| 122 |
cudaErrorMisalignedAddress = 716, |
| 123 |
cudaErrorInvalidAddressSpace = 717, |
| 124 |
cudaErrorInvalidPc = 718, |
| 125 |
cudaErrorLaunchFailure = 719, |
| 126 |
cudaErrorCooperativeLaunchTooLarge = 720, |
| 127 |
cudaErrorNotPermitted = 800, |
| 128 |
cudaErrorNotSupported = 801, |
| 129 |
cudaErrorSystemNotReady = 802, |
| 130 |
cudaErrorSystemDriverMismatch = 803, |
| 131 |
cudaErrorCompatNotSupportedOnDevice = 804, |
| 132 |
cudaErrorMpsConnectionFailed = 805, |
| 133 |
cudaErrorMpsRpcFailure = 806, |
| 134 |
cudaErrorMpsServerNotReady = 807, |
| 135 |
cudaErrorMpsMaxClientsReached = 808, |
| 136 |
cudaErrorMpsMaxConnectionsReached = 809, |
| 137 |
cudaErrorMpsClientTerminated = 810, |
| 138 |
cudaErrorCdpNotSupported = 811, |
| 139 |
cudaErrorCdpVersionMismatch = 812, |
| 140 |
cudaErrorStreamCaptureUnsupported = 900, |
| 141 |
cudaErrorStreamCaptureInvalidated = 901, |
| 142 |
cudaErrorStreamCaptureMerge = 902, |
| 143 |
cudaErrorStreamCaptureUnmatched = 903, |
| 144 |
cudaErrorStreamCaptureUnjoined = 904, |
| 145 |
cudaErrorStreamCaptureIsolation = 905, |
| 146 |
cudaErrorStreamCaptureImplicit = 906, |
| 147 |
cudaErrorCapturedEvent = 907, |
| 148 |
cudaErrorStreamCaptureWrongThread = 908, |
| 149 |
cudaErrorTimeout = 909, |
| 150 |
cudaErrorGraphExecUpdateFailure = 910, |
| 151 |
cudaErrorExternalDevice = 911, |
| 152 |
cudaErrorInvalidClusterSize = 912, |
| 153 |
cudaErrorUnknown = 999, |
| 154 |
cudaErrorApiFailureBase = 10000 |
| 155 |
}; |
| 156 |
|
| 157 |
typedef enum cudaError cudaError_t; |
| 158 |
|
| 159 |
typedef struct |
| 160 |
{ |
| 161 |
char bytes[16]; |
| 162 |
} cudaUUID_t; |
| 163 |
|
| 164 |
struct cudaDeviceProp |
| 165 |
{ |
| 166 |
char name[256]; |
| 167 |
cudaUUID_t uuid; |
| 168 |
char luid[8]; |
| 169 |
unsigned int luidDeviceNodeMask; |
| 170 |
size_t totalGlobalMem; |
| 171 |
size_t sharedMemPerBlock; |
| 172 |
int regsPerBlock; |
| 173 |
int warpSize; |
| 174 |
size_t memPitch; |
| 175 |
int maxThreadsPerBlock; |
| 176 |
int maxThreadsDim[3]; |
| 177 |
int maxGridSize[3]; |
| 178 |
int clockRate; |
| 179 |
size_t totalConstMem; |
| 180 |
int major; |
| 181 |
int minor; |
| 182 |
size_t textureAlignment; |
| 183 |
size_t texturePitchAlignment; |
| 184 |
int deviceOverlap; |
| 185 |
int multiProcessorCount; |
| 186 |
int kernelExecTimeoutEnabled; |
| 187 |
int integrated; |
| 188 |
int canMapHostMemory; |
| 189 |
int computeMode; |
| 190 |
int maxTexture1D; |
| 191 |
int maxTexture1DMipmap; |
| 192 |
int maxTexture1DLinear; |
| 193 |
int maxTexture2D[2]; |
| 194 |
int maxTexture2DMipmap[2]; |
| 195 |
int maxTexture2DLinear[3]; |
| 196 |
int maxTexture2DGather[2]; |
| 197 |
int maxTexture3D[3]; |
| 198 |
int maxTexture3DAlt[3]; |
| 199 |
int maxTextureCubemap; |
| 200 |
int maxTexture1DLayered[2]; |
| 201 |
int maxTexture2DLayered[3]; |
| 202 |
int maxTextureCubemapLayered[2]; |
| 203 |
int maxSurface1D; |
| 204 |
int maxSurface2D[2]; |
| 205 |
int maxSurface3D[3]; |
| 206 |
int maxSurface1DLayered[2]; |
| 207 |
int maxSurface2DLayered[3]; |
| 208 |
int maxSurfaceCubemap; |
| 209 |
int maxSurfaceCubemapLayered[2]; |
| 210 |
size_t surfaceAlignment; |
| 211 |
int concurrentKernels; |
| 212 |
int ECCEnabled; |
| 213 |
int pciBusID; |
| 214 |
int pciDeviceID; |
| 215 |
int pciDomainID; |
| 216 |
int tccDriver; |
| 217 |
int asyncEngineCount; |
| 218 |
int unifiedAddressing; |
| 219 |
int memoryClockRate; |
| 220 |
int memoryBusWidth; |
| 221 |
int l2CacheSize; |
| 222 |
int persistingL2CacheMaxSize; |
| 223 |
int maxThreadsPerMultiProcessor; |
| 224 |
int streamPrioritiesSupported; |
| 225 |
int globalL1CacheSupported; |
| 226 |
int localL1CacheSupported; |
| 227 |
size_t sharedMemPerMultiprocessor; |
| 228 |
int regsPerMultiprocessor; |
| 229 |
int managedMemory; |
| 230 |
int isMultiGpuBoard; |
| 231 |
int multiGpuBoardGroupID; |
| 232 |
int hostNativeAtomicSupported; |
| 233 |
int singleToDoublePrecisionPerfRatio; |
| 234 |
int pageableMemoryAccess; |
| 235 |
int concurrentManagedAccess; |
| 236 |
int computePreemptionSupported; |
| 237 |
int canUseHostPointerForRegisteredMem; |
| 238 |
int cooperativeLaunch; |
| 239 |
int cooperativeMultiDeviceLaunch; |
| 240 |
size_t sharedMemPerBlockOptin; |
| 241 |
int pageableMemoryAccessUsesHostPageTables; |
| 242 |
int directManagedMemAccessFromHost; |
| 243 |
int maxBlocksPerMultiProcessor; |
| 244 |
int accessPolicyMaxWindowSize; |
| 245 |
size_t reservedSharedMemPerBlock; |
| 246 |
int hostRegisterSupported; |
| 247 |
int sparseCudaArraySupported; |
| 248 |
int hostRegisterReadOnlySupported; |
| 249 |
int timelineSemaphoreInteropSupported; |
| 250 |
int memoryPoolsSupported; |
| 251 |
int gpuDirectRDMASupported; |
| 252 |
unsigned int gpuDirectRDMAFlushWritesOptions; |
| 253 |
int gpuDirectRDMAWritesOrdering; |
| 254 |
unsigned int memoryPoolSupportedHandleTypes; |
| 255 |
int deferredMappingCudaArraySupported; |
| 256 |
int ipcEventSupported; |
| 257 |
int clusterLaunch; |
| 258 |
int unifiedFunctionPointers; |
| 259 |
int reserved2[2]; |
| 260 |
int reserved1[1]; |
| 261 |
int reserved[60]; |
| 262 |
}; |
| 263 |
|
| 264 |
enum cudaDeviceAttr |
| 265 |
{ |
| 266 |
cudaDevAttrMaxThreadsPerBlock = 1, |
| 267 |
cudaDevAttrMaxBlockDimX = 2, |
| 268 |
cudaDevAttrMaxBlockDimY = 3, |
| 269 |
cudaDevAttrMaxBlockDimZ = 4, |
| 270 |
cudaDevAttrMaxGridDimX = 5, |
| 271 |
cudaDevAttrMaxGridDimY = 6, |
| 272 |
cudaDevAttrMaxGridDimZ = 7, |
| 273 |
cudaDevAttrMaxSharedMemoryPerBlock = 8, |
| 274 |
cudaDevAttrTotalConstantMemory = 9, |
| 275 |
cudaDevAttrWarpSize = 10, |
| 276 |
cudaDevAttrMaxPitch = 11, |
| 277 |
cudaDevAttrMaxRegistersPerBlock = 12, |
| 278 |
cudaDevAttrClockRate = 13, |
| 279 |
cudaDevAttrTextureAlignment = 14, |
| 280 |
cudaDevAttrGpuOverlap = 15, |
| 281 |
cudaDevAttrMultiProcessorCount = 16, |
| 282 |
cudaDevAttrKernelExecTimeout = 17, |
| 283 |
cudaDevAttrIntegrated = 18, |
| 284 |
cudaDevAttrCanMapHostMemory = 19, |
| 285 |
cudaDevAttrComputeMode = 20, |
| 286 |
cudaDevAttrMaxTexture1DWidth = 21, |
| 287 |
cudaDevAttrMaxTexture2DWidth = 22, |
| 288 |
cudaDevAttrMaxTexture2DHeight = 23, |
| 289 |
cudaDevAttrMaxTexture3DWidth = 24, |
| 290 |
cudaDevAttrMaxTexture3DHeight = 25, |
| 291 |
cudaDevAttrMaxTexture3DDepth = 26, |
| 292 |
cudaDevAttrMaxTexture2DLayeredWidth = 27, |
| 293 |
cudaDevAttrMaxTexture2DLayeredHeight = 28, |
| 294 |
cudaDevAttrMaxTexture2DLayeredLayers = 29, |
| 295 |
cudaDevAttrSurfaceAlignment = 30, |
| 296 |
cudaDevAttrConcurrentKernels = 31, |
| 297 |
cudaDevAttrEccEnabled = 32, |
| 298 |
cudaDevAttrPciBusId = 33, |
| 299 |
cudaDevAttrPciDeviceId = 34, |
| 300 |
cudaDevAttrTccDriver = 35, |
| 301 |
cudaDevAttrMemoryClockRate = 36, |
| 302 |
cudaDevAttrGlobalMemoryBusWidth = 37, |
| 303 |
cudaDevAttrL2CacheSize = 38, |
| 304 |
cudaDevAttrMaxThreadsPerMultiProcessor = 39, |
| 305 |
cudaDevAttrAsyncEngineCount = 40, |
| 306 |
cudaDevAttrUnifiedAddressing = 41, |
| 307 |
cudaDevAttrMaxTexture1DLayeredWidth = 42, |
| 308 |
cudaDevAttrMaxTexture1DLayeredLayers = 43, |
| 309 |
cudaDevAttrMaxTexture2DGatherWidth = 45, |
| 310 |
cudaDevAttrMaxTexture2DGatherHeight = 46, |
| 311 |
cudaDevAttrMaxTexture3DWidthAlt = 47, |
| 312 |
cudaDevAttrMaxTexture3DHeightAlt = 48, |
| 313 |
cudaDevAttrMaxTexture3DDepthAlt = 49, |
| 314 |
cudaDevAttrPciDomainId = 50, |
| 315 |
cudaDevAttrTexturePitchAlignment = 51, |
| 316 |
cudaDevAttrMaxTextureCubemapWidth = 52, |
| 317 |
cudaDevAttrMaxTextureCubemapLayeredWidth = 53, |
| 318 |
cudaDevAttrMaxTextureCubemapLayeredLayers = 54, |
| 319 |
cudaDevAttrMaxSurface1DWidth = 55, |
| 320 |
cudaDevAttrMaxSurface2DWidth = 56, |
| 321 |
cudaDevAttrMaxSurface2DHeight = 57, |
| 322 |
cudaDevAttrMaxSurface3DWidth = 58, |
| 323 |
cudaDevAttrMaxSurface3DHeight = 59, |
| 324 |
cudaDevAttrMaxSurface3DDepth = 60, |
| 325 |
cudaDevAttrMaxSurface1DLayeredWidth = 61, |
| 326 |
cudaDevAttrMaxSurface1DLayeredLayers = 62, |
| 327 |
cudaDevAttrMaxSurface2DLayeredWidth = 63, |
| 328 |
cudaDevAttrMaxSurface2DLayeredHeight = 64, |
| 329 |
cudaDevAttrMaxSurface2DLayeredLayers = 65, |
| 330 |
cudaDevAttrMaxSurfaceCubemapWidth = 66, |
| 331 |
cudaDevAttrMaxSurfaceCubemapLayeredWidth = 67, |
| 332 |
cudaDevAttrMaxSurfaceCubemapLayeredLayers = 68, |
| 333 |
cudaDevAttrMaxTexture1DLinearWidth = 69, |
| 334 |
cudaDevAttrMaxTexture2DLinearWidth = 70, |
| 335 |
cudaDevAttrMaxTexture2DLinearHeight = 71, |
| 336 |
cudaDevAttrMaxTexture2DLinearPitch = 72, |
| 337 |
cudaDevAttrMaxTexture2DMipmappedWidth = 73, |
| 338 |
cudaDevAttrMaxTexture2DMipmappedHeight = 74, |
| 339 |
cudaDevAttrComputeCapabilityMajor = 75, |
| 340 |
cudaDevAttrComputeCapabilityMinor = 76, |
| 341 |
cudaDevAttrMaxTexture1DMipmappedWidth = 77, |
| 342 |
cudaDevAttrStreamPrioritiesSupported = 78, |
| 343 |
cudaDevAttrGlobalL1CacheSupported = 79, |
| 344 |
cudaDevAttrLocalL1CacheSupported = 80, |
| 345 |
cudaDevAttrMaxSharedMemoryPerMultiprocessor = 81, |
| 346 |
cudaDevAttrMaxRegistersPerMultiprocessor = 82, |
| 347 |
cudaDevAttrManagedMemory = 83, |
| 348 |
cudaDevAttrIsMultiGpuBoard = 84, |
| 349 |
cudaDevAttrMultiGpuBoardGroupID = 85, |
| 350 |
cudaDevAttrHostNativeAtomicSupported = 86, |
| 351 |
cudaDevAttrSingleToDoublePrecisionPerfRatio = 87, |
| 352 |
cudaDevAttrPageableMemoryAccess = 88, |
| 353 |
cudaDevAttrConcurrentManagedAccess = 89, |
| 354 |
cudaDevAttrComputePreemptionSupported = 90, |
| 355 |
cudaDevAttrCanUseHostPointerForRegisteredMem = 91, |
| 356 |
cudaDevAttrReserved92 = 92, |
| 357 |
cudaDevAttrReserved93 = 93, |
| 358 |
cudaDevAttrReserved94 = 94, |
| 359 |
cudaDevAttrCooperativeLaunch = 95, |
| 360 |
cudaDevAttrCooperativeMultiDeviceLaunch = 96, |
| 361 |
cudaDevAttrMaxSharedMemoryPerBlockOptin = 97, |
| 362 |
cudaDevAttrCanFlushRemoteWrites = 98, |
| 363 |
cudaDevAttrHostRegisterSupported = 99, |
| 364 |
cudaDevAttrPageableMemoryAccessUsesHostPageTables = 100, |
| 365 |
cudaDevAttrDirectManagedMemAccessFromHost = 101, |
| 366 |
cudaDevAttrMaxBlocksPerMultiprocessor = 106, |
| 367 |
cudaDevAttrMaxPersistingL2CacheSize = 108, |
| 368 |
cudaDevAttrMaxAccessPolicyWindowSize = 109, |
| 369 |
cudaDevAttrReservedSharedMemoryPerBlock = 111, |
| 370 |
cudaDevAttrSparseCudaArraySupported = 112, |
| 371 |
cudaDevAttrHostRegisterReadOnlySupported = 113, |
| 372 |
cudaDevAttrTimelineSemaphoreInteropSupported = 114, |
| 373 |
cudaDevAttrMaxTimelineSemaphoreInteropSupported = 114, |
| 374 |
cudaDevAttrMemoryPoolsSupported = 115, |
| 375 |
cudaDevAttrGPUDirectRDMASupported = 116, |
| 376 |
cudaDevAttrGPUDirectRDMAFlushWritesOptions = 117, |
| 377 |
cudaDevAttrGPUDirectRDMAWritesOrdering = 118, |
| 378 |
cudaDevAttrMemoryPoolSupportedHandleTypes = 119, |
| 379 |
cudaDevAttrClusterLaunch = 120, |
| 380 |
cudaDevAttrDeferredMappingCudaArraySupported = 121, |
| 381 |
cudaDevAttrReserved122 = 122, |
| 382 |
cudaDevAttrReserved123 = 123, |
| 383 |
cudaDevAttrReserved124 = 124, |
| 384 |
cudaDevAttrIpcEventSupport = 125, |
| 385 |
cudaDevAttrMemSyncDomainCount = 126, |
| 386 |
cudaDevAttrReserved127 = 127, |
| 387 |
cudaDevAttrReserved128 = 128, |
| 388 |
cudaDevAttrReserved129 = 129, |
| 389 |
cudaDevAttrNumaConfig = 130, |
| 390 |
cudaDevAttrNumaId = 131, |
| 391 |
cudaDevAttrReserved132 = 132, |
| 392 |
cudaDevAttrMpsEnabled = 133, |
| 393 |
cudaDevAttrHostNumaId = 134, |
| 394 |
cudaDevAttrMax |
| 395 |
}; |
| 396 |
|
| 397 |
typedef gpointer cudaStream_t; |
| 398 |
|
| 399 |
struct cudaGraphicsResource; |
| 400 |
|
| 401 |
typedef struct cudaGraphicsResource *cudaGraphicsResource_t; |
| 402 |
typedef struct CUevent_st *cudaEvent_t; |
| 403 |
|
| 404 |
G_END_DECLS |
| 405 |
|