ruby-bullet 0.1.0-x86-linux → 0.1.1-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +3 -0
  3. data/Rakefile +14 -2
  4. data/bindings/bullet/interface/BulletCollision/CollisionDispatch/btCollisionWorld.i +2 -2
  5. data/bindings/bullet/interface/bullet_wrap.cpp +17548 -6035
  6. data/bindings/bullet/interface/bullet_wrap.h +7 -7
  7. data/bindings/bullet/interface/bullet_wrap.o +0 -0
  8. data/lib/bullet.so +0 -0
  9. data/lib/ruby-bullet/version.rb +1 -1
  10. data/ruby-bullet.gemspec +0 -3
  11. metadata +169 -444
  12. data/deps/include/bullet/Bullet-C-Api.h +0 -176
  13. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btAxisSweep3.h +0 -1051
  14. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h +0 -82
  15. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h +0 -270
  16. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h +0 -80
  17. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btDbvt.h +0 -1257
  18. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h +0 -146
  19. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btDispatcher.h +0 -110
  20. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h +0 -151
  21. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h +0 -469
  22. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h +0 -40
  23. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btQuantizedBvh.h +0 -579
  24. data/deps/include/bullet/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h +0 -171
  25. data/deps/include/bullet/BulletCollision/CollisionDispatch/SphereTriangleDetector.h +0 -51
  26. data/deps/include/bullet/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h +0 -36
  27. data/deps/include/bullet/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h +0 -66
  28. data/deps/include/bullet/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h +0 -66
  29. data/deps/include/bullet/BulletCollision/CollisionDispatch/btBoxBoxDetector.h +0 -44
  30. data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionConfiguration.h +0 -48
  31. data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionCreateFunc.h +0 -45
  32. data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionDispatcher.h +0 -172
  33. data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionObject.h +0 -524
  34. data/deps/include/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h +0 -509
  35. data/deps/include/bullet/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h +0 -86
  36. data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h +0 -95
  37. data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h +0 -116
  38. data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h +0 -109
  39. data/deps/include/bullet/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h +0 -84
  40. data/deps/include/bullet/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h +0 -137
  41. data/deps/include/bullet/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h +0 -54
  42. data/deps/include/bullet/BulletCollision/CollisionDispatch/btGhostObject.h +0 -175
  43. data/deps/include/bullet/BulletCollision/CollisionDispatch/btInternalEdgeUtility.h +0 -46
  44. data/deps/include/bullet/BulletCollision/CollisionDispatch/btManifoldResult.h +0 -128
  45. data/deps/include/bullet/BulletCollision/CollisionDispatch/btSimulationIslandManager.h +0 -81
  46. data/deps/include/bullet/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h +0 -75
  47. data/deps/include/bullet/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h +0 -66
  48. data/deps/include/bullet/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h +0 -69
  49. data/deps/include/bullet/BulletCollision/CollisionDispatch/btUnionFind.h +0 -129
  50. data/deps/include/bullet/BulletCollision/CollisionShapes/btBox2dShape.h +0 -369
  51. data/deps/include/bullet/BulletCollision/CollisionShapes/btBoxShape.h +0 -312
  52. data/deps/include/bullet/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h +0 -139
  53. data/deps/include/bullet/BulletCollision/CollisionShapes/btCapsuleShape.h +0 -173
  54. data/deps/include/bullet/BulletCollision/CollisionShapes/btCollisionMargin.h +0 -27
  55. data/deps/include/bullet/BulletCollision/CollisionShapes/btCollisionShape.h +0 -150
  56. data/deps/include/bullet/BulletCollision/CollisionShapes/btCompoundShape.h +0 -212
  57. data/deps/include/bullet/BulletCollision/CollisionShapes/btConcaveShape.h +0 -60
  58. data/deps/include/bullet/BulletCollision/CollisionShapes/btConeShape.h +0 -103
  59. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvex2dShape.h +0 -80
  60. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexHullShape.h +0 -122
  61. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexInternalShape.h +0 -224
  62. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexPointCloudShape.h +0 -105
  63. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexPolyhedron.h +0 -62
  64. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexShape.h +0 -84
  65. data/deps/include/bullet/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h +0 -75
  66. data/deps/include/bullet/BulletCollision/CollisionShapes/btCylinderShape.h +0 -200
  67. data/deps/include/bullet/BulletCollision/CollisionShapes/btEmptyShape.h +0 -70
  68. data/deps/include/bullet/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h +0 -161
  69. data/deps/include/bullet/BulletCollision/CollisionShapes/btMaterial.h +0 -35
  70. data/deps/include/bullet/BulletCollision/CollisionShapes/btMinkowskiSumShape.h +0 -60
  71. data/deps/include/bullet/BulletCollision/CollisionShapes/btMultiSphereShape.h +0 -99
  72. data/deps/include/bullet/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h +0 -120
  73. data/deps/include/bullet/BulletCollision/CollisionShapes/btOptimizedBvh.h +0 -65
  74. data/deps/include/bullet/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h +0 -112
  75. data/deps/include/bullet/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h +0 -93
  76. data/deps/include/bullet/BulletCollision/CollisionShapes/btShapeHull.h +0 -59
  77. data/deps/include/bullet/BulletCollision/CollisionShapes/btSphereShape.h +0 -73
  78. data/deps/include/bullet/BulletCollision/CollisionShapes/btStaticPlaneShape.h +0 -103
  79. data/deps/include/bullet/BulletCollision/CollisionShapes/btStridingMeshInterface.h +0 -162
  80. data/deps/include/bullet/BulletCollision/CollisionShapes/btTetrahedronShape.h +0 -74
  81. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleBuffer.h +0 -69
  82. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleCallback.h +0 -42
  83. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h +0 -133
  84. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h +0 -84
  85. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleInfoMap.h +0 -241
  86. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleMesh.h +0 -69
  87. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.h +0 -89
  88. data/deps/include/bullet/BulletCollision/CollisionShapes/btTriangleShape.h +0 -182
  89. data/deps/include/bullet/BulletCollision/CollisionShapes/btUniformScalingShape.h +0 -87
  90. data/deps/include/bullet/BulletCollision/Gimpact/btBoxCollision.h +0 -647
  91. data/deps/include/bullet/BulletCollision/Gimpact/btClipPolygon.h +0 -182
  92. data/deps/include/bullet/BulletCollision/Gimpact/btContactProcessing.h +0 -145
  93. data/deps/include/bullet/BulletCollision/Gimpact/btGImpactBvh.h +0 -396
  94. data/deps/include/bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h +0 -306
  95. data/deps/include/bullet/BulletCollision/Gimpact/btGImpactMassUtil.h +0 -60
  96. data/deps/include/bullet/BulletCollision/Gimpact/btGImpactQuantizedBvh.h +0 -372
  97. data/deps/include/bullet/BulletCollision/Gimpact/btGImpactShape.h +0 -1171
  98. data/deps/include/bullet/BulletCollision/Gimpact/btGenericPoolAllocator.h +0 -163
  99. data/deps/include/bullet/BulletCollision/Gimpact/btGeometryOperations.h +0 -212
  100. data/deps/include/bullet/BulletCollision/Gimpact/btQuantization.h +0 -88
  101. data/deps/include/bullet/BulletCollision/Gimpact/btTriangleShapeEx.h +0 -180
  102. data/deps/include/bullet/BulletCollision/Gimpact/gim_array.h +0 -326
  103. data/deps/include/bullet/BulletCollision/Gimpact/gim_basic_geometry_operations.h +0 -543
  104. data/deps/include/bullet/BulletCollision/Gimpact/gim_bitset.h +0 -123
  105. data/deps/include/bullet/BulletCollision/Gimpact/gim_box_collision.h +0 -590
  106. data/deps/include/bullet/BulletCollision/Gimpact/gim_box_set.h +0 -674
  107. data/deps/include/bullet/BulletCollision/Gimpact/gim_clip_polygon.h +0 -210
  108. data/deps/include/bullet/BulletCollision/Gimpact/gim_contact.h +0 -164
  109. data/deps/include/bullet/BulletCollision/Gimpact/gim_geom_types.h +0 -97
  110. data/deps/include/bullet/BulletCollision/Gimpact/gim_geometry.h +0 -42
  111. data/deps/include/bullet/BulletCollision/Gimpact/gim_hash_table.h +0 -902
  112. data/deps/include/bullet/BulletCollision/Gimpact/gim_linear_math.h +0 -1573
  113. data/deps/include/bullet/BulletCollision/Gimpact/gim_math.h +0 -157
  114. data/deps/include/bullet/BulletCollision/Gimpact/gim_memory.h +0 -190
  115. data/deps/include/bullet/BulletCollision/Gimpact/gim_radixsort.h +0 -406
  116. data/deps/include/bullet/BulletCollision/Gimpact/gim_tri_collision.h +0 -379
  117. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h +0 -59
  118. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btConvexCast.h +0 -73
  119. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h +0 -42
  120. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h +0 -91
  121. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h +0 -50
  122. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpa2.h +0 -75
  123. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h +0 -43
  124. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h +0 -103
  125. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h +0 -158
  126. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h +0 -40
  127. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h +0 -228
  128. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btPointCollector.h +0 -64
  129. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.h +0 -46
  130. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h +0 -72
  131. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h +0 -63
  132. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h +0 -50
  133. data/deps/include/bullet/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h +0 -179
  134. data/deps/include/bullet/BulletCollision/btBulletCollisionCommon.h +0 -69
  135. data/deps/include/bullet/BulletDynamics/Character/btCharacterControllerInterface.h +0 -46
  136. data/deps/include/bullet/BulletDynamics/Character/btKinematicCharacterController.h +0 -163
  137. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h +0 -346
  138. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btConstraintSolver.h +0 -52
  139. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btContactConstraint.h +0 -71
  140. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btContactSolverInfo.h +0 -87
  141. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h +0 -614
  142. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h +0 -99
  143. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btHinge2Constraint.h +0 -58
  144. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btHingeConstraint.h +0 -381
  145. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btJacobianEntry.h +0 -156
  146. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h +0 -161
  147. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h +0 -130
  148. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSliderConstraint.h +0 -333
  149. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h +0 -107
  150. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSolverBody.h +0 -191
  151. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btSolverConstraint.h +0 -98
  152. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btTypedConstraint.h +0 -452
  153. data/deps/include/bullet/BulletDynamics/ConstraintSolver/btUniversalConstraint.h +0 -62
  154. data/deps/include/bullet/BulletDynamics/Dynamics/btActionInterface.h +0 -46
  155. data/deps/include/bullet/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h +0 -203
  156. data/deps/include/bullet/BulletDynamics/Dynamics/btDynamicsWorld.h +0 -151
  157. data/deps/include/bullet/BulletDynamics/Dynamics/btRigidBody.h +0 -691
  158. data/deps/include/bullet/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h +0 -89
  159. data/deps/include/bullet/BulletDynamics/Vehicle/btRaycastVehicle.h +0 -236
  160. data/deps/include/bullet/BulletDynamics/Vehicle/btVehicleRaycaster.h +0 -35
  161. data/deps/include/bullet/BulletDynamics/Vehicle/btWheelInfo.h +0 -119
  162. data/deps/include/bullet/BulletDynamics/btBulletDynamicsCommon.h +0 -48
  163. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverBuffer_DX11.h +0 -323
  164. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverLinkData_DX11.h +0 -103
  165. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverLinkData_DX11SIMDAware.h +0 -173
  166. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverTriangleData_DX11.h +0 -96
  167. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverVertexBuffer_DX11.h +0 -107
  168. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverVertexData_DX11.h +0 -63
  169. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11.h +0 -691
  170. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolver_DX11SIMDAware.h +0 -81
  171. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverBuffer_OpenCL.h +0 -209
  172. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverLinkData_OpenCL.h +0 -99
  173. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverLinkData_OpenCLSIMDAware.h +0 -169
  174. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverOutputCLtoGL.h +0 -62
  175. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverTriangleData_OpenCL.h +0 -84
  176. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverVertexBuffer_OpenGL.h +0 -166
  177. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolverVertexData_OpenCL.h +0 -52
  178. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolver_OpenCL.h +0 -527
  179. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/btSoftBodySolver_OpenCLSIMDAware.h +0 -81
  180. data/deps/include/bullet/BulletMultiThreaded/GpuSoftBodySolvers/Shared/btSoftBodySolverData.h +0 -748
  181. data/deps/include/bullet/BulletMultiThreaded/HeapManager.h +0 -117
  182. data/deps/include/bullet/BulletMultiThreaded/PlatformDefinitions.h +0 -99
  183. data/deps/include/bullet/BulletMultiThreaded/PosixThreadSupport.h +0 -142
  184. data/deps/include/bullet/BulletMultiThreaded/PpuAddressSpace.h +0 -37
  185. data/deps/include/bullet/BulletMultiThreaded/SequentialThreadSupport.h +0 -96
  186. data/deps/include/bullet/BulletMultiThreaded/SpuCollisionObjectWrapper.h +0 -40
  187. data/deps/include/bullet/BulletMultiThreaded/SpuCollisionTaskProcess.h +0 -163
  188. data/deps/include/bullet/BulletMultiThreaded/SpuContactManifoldCollisionAlgorithm.h +0 -120
  189. data/deps/include/bullet/BulletMultiThreaded/SpuDoubleBuffer.h +0 -126
  190. data/deps/include/bullet/BulletMultiThreaded/SpuFakeDma.h +0 -135
  191. data/deps/include/bullet/BulletMultiThreaded/SpuGatheringCollisionDispatcher.h +0 -72
  192. data/deps/include/bullet/BulletMultiThreaded/SpuLibspe2Support.h +0 -180
  193. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h +0 -167
  194. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuCollisionShapes.h +0 -128
  195. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.h +0 -106
  196. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuConvexPenetrationDepthSolver.h +0 -51
  197. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.h +0 -140
  198. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuLocalSupport.h +0 -19
  199. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuMinkowskiPenetrationDepthSolver.h +0 -48
  200. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuPreferredPenetrationDirections.h +0 -70
  201. data/deps/include/bullet/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/boxBoxDistance.h +0 -65
  202. data/deps/include/bullet/BulletMultiThreaded/SpuSampleTask/SpuSampleTask.h +0 -54
  203. data/deps/include/bullet/BulletMultiThreaded/SpuSampleTaskProcess.h +0 -153
  204. data/deps/include/bullet/BulletMultiThreaded/SpuSync.h +0 -149
  205. data/deps/include/bullet/BulletMultiThreaded/TrbDynBody.h +0 -79
  206. data/deps/include/bullet/BulletMultiThreaded/TrbStateVec.h +0 -339
  207. data/deps/include/bullet/BulletMultiThreaded/Win32ThreadSupport.h +0 -138
  208. data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphase.h +0 -138
  209. data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphaseSharedCode.h +0 -430
  210. data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphaseSharedDefs.h +0 -61
  211. data/deps/include/bullet/BulletMultiThreaded/btGpu3DGridBroadphaseSharedTypes.h +0 -67
  212. data/deps/include/bullet/BulletMultiThreaded/btGpuDefines.h +0 -211
  213. data/deps/include/bullet/BulletMultiThreaded/btGpuUtilsSharedCode.h +0 -55
  214. data/deps/include/bullet/BulletMultiThreaded/btGpuUtilsSharedDefs.h +0 -52
  215. data/deps/include/bullet/BulletMultiThreaded/btParallelConstraintSolver.h +0 -285
  216. data/deps/include/bullet/BulletMultiThreaded/btThreadSupportInterface.h +0 -85
  217. data/deps/include/bullet/BulletMultiThreaded/vectormath2bullet.h +0 -73
  218. data/deps/include/bullet/BulletSoftBody/btDefaultSoftBodySolver.h +0 -63
  219. data/deps/include/bullet/BulletSoftBody/btSoftBody.h +0 -987
  220. data/deps/include/bullet/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h +0 -153
  221. data/deps/include/bullet/BulletSoftBody/btSoftBodyData.h +0 -217
  222. data/deps/include/bullet/BulletSoftBody/btSoftBodyHelpers.h +0 -143
  223. data/deps/include/bullet/BulletSoftBody/btSoftBodyInternals.h +0 -930
  224. data/deps/include/bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h +0 -48
  225. data/deps/include/bullet/BulletSoftBody/btSoftBodySolverVertexBuffer.h +0 -165
  226. data/deps/include/bullet/BulletSoftBody/btSoftBodySolvers.h +0 -154
  227. data/deps/include/bullet/BulletSoftBody/btSoftRigidCollisionAlgorithm.h +0 -75
  228. data/deps/include/bullet/BulletSoftBody/btSoftRigidDynamicsWorld.h +0 -107
  229. data/deps/include/bullet/BulletSoftBody/btSoftSoftCollisionAlgorithm.h +0 -69
  230. data/deps/include/bullet/BulletSoftBody/btSparseSDF.h +0 -306
  231. data/deps/include/bullet/LinearMath/btAabbUtil2.h +0 -236
  232. data/deps/include/bullet/LinearMath/btAlignedAllocator.h +0 -107
  233. data/deps/include/bullet/LinearMath/btAlignedObjectArray.h +0 -494
  234. data/deps/include/bullet/LinearMath/btConvexHull.h +0 -241
  235. data/deps/include/bullet/LinearMath/btConvexHullComputer.h +0 -103
  236. data/deps/include/bullet/LinearMath/btDefaultMotionState.h +0 -40
  237. data/deps/include/bullet/LinearMath/btGeometryUtil.h +0 -42
  238. data/deps/include/bullet/LinearMath/btGrahamScan2dConvexHull.h +0 -110
  239. data/deps/include/bullet/LinearMath/btHashMap.h +0 -450
  240. data/deps/include/bullet/LinearMath/btIDebugDraw.h +0 -418
  241. data/deps/include/bullet/LinearMath/btList.h +0 -73
  242. data/deps/include/bullet/LinearMath/btMatrix3x3.h +0 -771
  243. data/deps/include/bullet/LinearMath/btMinMax.h +0 -71
  244. data/deps/include/bullet/LinearMath/btMotionState.h +0 -40
  245. data/deps/include/bullet/LinearMath/btPoolAllocator.h +0 -121
  246. data/deps/include/bullet/LinearMath/btQuadWord.h +0 -180
  247. data/deps/include/bullet/LinearMath/btQuaternion.h +0 -430
  248. data/deps/include/bullet/LinearMath/btQuickprof.h +0 -203
  249. data/deps/include/bullet/LinearMath/btRandom.h +0 -42
  250. data/deps/include/bullet/LinearMath/btScalar.h +0 -539
  251. data/deps/include/bullet/LinearMath/btSerializer.h +0 -639
  252. data/deps/include/bullet/LinearMath/btStackAlloc.h +0 -116
  253. data/deps/include/bullet/LinearMath/btTransform.h +0 -307
  254. data/deps/include/bullet/LinearMath/btTransformUtil.h +0 -228
  255. data/deps/include/bullet/LinearMath/btVector3.h +0 -766
  256. data/deps/include/bullet/MiniCL/MiniCLTask/MiniCLTask.h +0 -62
  257. data/deps/include/bullet/MiniCL/MiniCLTaskScheduler.h +0 -194
  258. data/deps/include/bullet/MiniCL/cl.h +0 -867
  259. data/deps/include/bullet/MiniCL/cl_MiniCL_Defs.h +0 -439
  260. data/deps/include/bullet/MiniCL/cl_gl.h +0 -113
  261. data/deps/include/bullet/MiniCL/cl_platform.h +0 -254
  262. data/deps/include/bullet/btBulletCollisionCommon.h +0 -69
  263. data/deps/include/bullet/btBulletDynamicsCommon.h +0 -48
  264. data/deps/include/bullet/vectormath/scalar/boolInVec.h +0 -225
  265. data/deps/include/bullet/vectormath/scalar/floatInVec.h +0 -343
  266. data/deps/include/bullet/vectormath/scalar/mat_aos.h +0 -1630
  267. data/deps/include/bullet/vectormath/scalar/quat_aos.h +0 -433
  268. data/deps/include/bullet/vectormath/scalar/vec_aos.h +0 -1426
  269. data/deps/include/bullet/vectormath/scalar/vectormath_aos.h +0 -1872
  270. data/deps/include/bullet/vectormath/sse/boolInVec.h +0 -247
  271. data/deps/include/bullet/vectormath/sse/floatInVec.h +0 -340
  272. data/deps/include/bullet/vectormath/sse/mat_aos.h +0 -2190
  273. data/deps/include/bullet/vectormath/sse/quat_aos.h +0 -579
  274. data/deps/include/bullet/vectormath/sse/vec_aos.h +0 -1455
  275. data/deps/include/bullet/vectormath/sse/vecidx_aos.h +0 -80
  276. data/deps/include/bullet/vectormath/sse/vectormath_aos.h +0 -2547
  277. data/deps/include/bullet/vectormath/vmInclude.h +0 -27
  278. data/deps/lib/libBulletCollision.a +0 -0
  279. data/deps/lib/libBulletDynamics.a +0 -0
  280. data/deps/lib/libBulletMultiThreaded.a +0 -0
  281. data/deps/lib/libBulletSoftBody.a +0 -0
  282. data/deps/lib/libBulletSoftBodySolvers_OpenCL_Mini.a +0 -0
  283. data/deps/lib/libLinearMath.a +0 -0
  284. data/deps/lib/libMiniCL.a +0 -0
@@ -1,867 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (c) 2008-2009 The Khronos Group Inc.
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a
5
- * copy of this software and/or associated documentation files (the
6
- * "Materials"), to deal in the Materials without restriction, including
7
- * without limitation the rights to use, copy, modify, merge, publish,
8
- * distribute, sublicense, and/or sell copies of the Materials, and to
9
- * permit persons to whom the Materials are furnished to do so, subject to
10
- * the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included
13
- * in all copies or substantial portions of the Materials.
14
- *
15
- * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21
- * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
22
- ******************************************************************************/
23
-
24
- #ifndef __OPENCL_CL_H
25
- #define __OPENCL_CL_H
26
-
27
- #ifdef __APPLE__
28
- #include <MiniCL/cl_platform.h>
29
- #else
30
- #include <MiniCL/cl_platform.h>
31
- #endif
32
-
33
- #ifdef __cplusplus
34
- extern "C" {
35
- #endif
36
-
37
- /******************************************************************************/
38
-
39
- typedef struct _cl_platform_id * cl_platform_id;
40
- typedef struct _cl_device_id * cl_device_id;
41
- typedef struct _cl_context * cl_context;
42
- typedef struct _cl_command_queue * cl_command_queue;
43
- typedef struct _cl_mem * cl_mem;
44
- typedef struct _cl_program * cl_program;
45
- typedef struct _cl_kernel * cl_kernel;
46
- typedef struct _cl_event * cl_event;
47
- typedef struct _cl_sampler * cl_sampler;
48
-
49
- typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platform.h, cl_bool is not guaranteed to be the same size as the bool in kernels. */
50
- typedef cl_ulong cl_bitfield;
51
- typedef cl_bitfield cl_device_type;
52
- typedef cl_uint cl_platform_info;
53
- typedef cl_uint cl_device_info;
54
- typedef cl_bitfield cl_device_address_info;
55
- typedef cl_bitfield cl_device_fp_config;
56
- typedef cl_uint cl_device_mem_cache_type;
57
- typedef cl_uint cl_device_local_mem_type;
58
- typedef cl_bitfield cl_device_exec_capabilities;
59
- typedef cl_bitfield cl_command_queue_properties;
60
-
61
- typedef intptr_t cl_context_properties;
62
- typedef cl_uint cl_context_info;
63
- typedef cl_uint cl_command_queue_info;
64
- typedef cl_uint cl_channel_order;
65
- typedef cl_uint cl_channel_type;
66
- typedef cl_bitfield cl_mem_flags;
67
- typedef cl_uint cl_mem_object_type;
68
- typedef cl_uint cl_mem_info;
69
- typedef cl_uint cl_image_info;
70
- typedef cl_uint cl_addressing_mode;
71
- typedef cl_uint cl_filter_mode;
72
- typedef cl_uint cl_sampler_info;
73
- typedef cl_bitfield cl_map_flags;
74
- typedef cl_uint cl_program_info;
75
- typedef cl_uint cl_program_build_info;
76
- typedef cl_int cl_build_status;
77
- typedef cl_uint cl_kernel_info;
78
- typedef cl_uint cl_kernel_work_group_info;
79
- typedef cl_uint cl_event_info;
80
- typedef cl_uint cl_command_type;
81
- typedef cl_uint cl_profiling_info;
82
-
83
- typedef struct _cl_image_format {
84
- cl_channel_order image_channel_order;
85
- cl_channel_type image_channel_data_type;
86
- } cl_image_format;
87
-
88
- /******************************************************************************/
89
-
90
- // Error Codes
91
- #define CL_SUCCESS 0
92
- #define CL_DEVICE_NOT_FOUND -1
93
- #define CL_DEVICE_NOT_AVAILABLE -2
94
- #define CL_DEVICE_COMPILER_NOT_AVAILABLE -3
95
- #define CL_MEM_OBJECT_ALLOCATION_FAILURE -4
96
- #define CL_OUT_OF_RESOURCES -5
97
- #define CL_OUT_OF_HOST_MEMORY -6
98
- #define CL_PROFILING_INFO_NOT_AVAILABLE -7
99
- #define CL_MEM_COPY_OVERLAP -8
100
- #define CL_IMAGE_FORMAT_MISMATCH -9
101
- #define CL_IMAGE_FORMAT_NOT_SUPPORTED -10
102
- #define CL_BUILD_PROGRAM_FAILURE -11
103
- #define CL_MAP_FAILURE -12
104
-
105
- #define CL_INVALID_VALUE -30
106
- #define CL_INVALID_DEVICE_TYPE -31
107
- #define CL_INVALID_PLATFORM -32
108
- #define CL_INVALID_DEVICE -33
109
- #define CL_INVALID_CONTEXT -34
110
- #define CL_INVALID_QUEUE_PROPERTIES -35
111
- #define CL_INVALID_COMMAND_QUEUE -36
112
- #define CL_INVALID_HOST_PTR -37
113
- #define CL_INVALID_MEM_OBJECT -38
114
- #define CL_INVALID_IMAGE_FORMAT_DESCRIPTOR -39
115
- #define CL_INVALID_IMAGE_SIZE -40
116
- #define CL_INVALID_SAMPLER -41
117
- #define CL_INVALID_BINARY -42
118
- #define CL_INVALID_BUILD_OPTIONS -43
119
- #define CL_INVALID_PROGRAM -44
120
- #define CL_INVALID_PROGRAM_EXECUTABLE -45
121
- #define CL_INVALID_KERNEL_NAME -46
122
- #define CL_INVALID_KERNEL_DEFINITION -47
123
- #define CL_INVALID_KERNEL -48
124
- #define CL_INVALID_ARG_INDEX -49
125
- #define CL_INVALID_ARG_VALUE -50
126
- #define CL_INVALID_ARG_SIZE -51
127
- #define CL_INVALID_KERNEL_ARGS -52
128
- #define CL_INVALID_WORK_DIMENSION -53
129
- #define CL_INVALID_WORK_GROUP_SIZE -54
130
- #define CL_INVALID_WORK_ITEM_SIZE -55
131
- #define CL_INVALID_GLOBAL_OFFSET -56
132
- #define CL_INVALID_EVENT_WAIT_LIST -57
133
- #define CL_INVALID_EVENT -58
134
- #define CL_INVALID_OPERATION -59
135
- #define CL_INVALID_GL_OBJECT -60
136
- #define CL_INVALID_BUFFER_SIZE -61
137
- #define CL_INVALID_MIP_LEVEL -62
138
-
139
- // OpenCL Version
140
- #define CL_VERSION_1_0 1
141
-
142
- // cl_bool
143
- #define CL_FALSE 0
144
- #define CL_TRUE 1
145
-
146
- // cl_platform_info
147
- #define CL_PLATFORM_PROFILE 0x0900
148
- #define CL_PLATFORM_VERSION 0x0901
149
- #define CL_PLATFORM_NAME 0x0902
150
- #define CL_PLATFORM_VENDOR 0x0903
151
- #define CL_PLATFORM_EXTENSIONS 0x0904
152
-
153
- // cl_device_type - bitfield
154
- #define CL_DEVICE_TYPE_DEFAULT (1 << 0)
155
- #define CL_DEVICE_TYPE_CPU (1 << 1)
156
- #define CL_DEVICE_TYPE_GPU (1 << 2)
157
- #define CL_DEVICE_TYPE_ACCELERATOR (1 << 3)
158
- #define CL_DEVICE_TYPE_DEBUG (1 << 4)
159
- #define CL_DEVICE_TYPE_ALL 0xFFFFFFFF
160
-
161
-
162
- // cl_device_info
163
- #define CL_DEVICE_TYPE 0x1000
164
- #define CL_DEVICE_VENDOR_ID 0x1001
165
- #define CL_DEVICE_MAX_COMPUTE_UNITS 0x1002
166
- #define CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS 0x1003
167
- #define CL_DEVICE_MAX_WORK_GROUP_SIZE 0x1004
168
- #define CL_DEVICE_MAX_WORK_ITEM_SIZES 0x1005
169
- #define CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR 0x1006
170
- #define CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT 0x1007
171
- #define CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT 0x1008
172
- #define CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG 0x1009
173
- #define CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT 0x100A
174
- #define CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE 0x100B
175
- #define CL_DEVICE_MAX_CLOCK_FREQUENCY 0x100C
176
- #define CL_DEVICE_ADDRESS_BITS 0x100D
177
- #define CL_DEVICE_MAX_READ_IMAGE_ARGS 0x100E
178
- #define CL_DEVICE_MAX_WRITE_IMAGE_ARGS 0x100F
179
- #define CL_DEVICE_MAX_MEM_ALLOC_SIZE 0x1010
180
- #define CL_DEVICE_IMAGE2D_MAX_WIDTH 0x1011
181
- #define CL_DEVICE_IMAGE2D_MAX_HEIGHT 0x1012
182
- #define CL_DEVICE_IMAGE3D_MAX_WIDTH 0x1013
183
- #define CL_DEVICE_IMAGE3D_MAX_HEIGHT 0x1014
184
- #define CL_DEVICE_IMAGE3D_MAX_DEPTH 0x1015
185
- #define CL_DEVICE_IMAGE_SUPPORT 0x1016
186
- #define CL_DEVICE_MAX_PARAMETER_SIZE 0x1017
187
- #define CL_DEVICE_MAX_SAMPLERS 0x1018
188
- #define CL_DEVICE_MEM_BASE_ADDR_ALIGN 0x1019
189
- #define CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE 0x101A
190
- #define CL_DEVICE_SINGLE_FP_CONFIG 0x101B
191
- #define CL_DEVICE_GLOBAL_MEM_CACHE_TYPE 0x101C
192
- #define CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE 0x101D
193
- #define CL_DEVICE_GLOBAL_MEM_CACHE_SIZE 0x101E
194
- #define CL_DEVICE_GLOBAL_MEM_SIZE 0x101F
195
- #define CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE 0x1020
196
- #define CL_DEVICE_MAX_CONSTANT_ARGS 0x1021
197
- #define CL_DEVICE_LOCAL_MEM_TYPE 0x1022
198
- #define CL_DEVICE_LOCAL_MEM_SIZE 0x1023
199
- #define CL_DEVICE_ERROR_CORRECTION_SUPPORT 0x1024
200
- #define CL_DEVICE_PROFILING_TIMER_RESOLUTION 0x1025
201
- #define CL_DEVICE_ENDIAN_LITTLE 0x1026
202
- #define CL_DEVICE_AVAILABLE 0x1027
203
- #define CL_DEVICE_COMPILER_AVAILABLE 0x1028
204
- #define CL_DEVICE_EXECUTION_CAPABILITIES 0x1029
205
- #define CL_DEVICE_QUEUE_PROPERTIES 0x102A
206
- #define CL_DEVICE_NAME 0x102B
207
- #define CL_DEVICE_VENDOR 0x102C
208
- #define CL_DRIVER_VERSION 0x102D
209
- #define CL_DEVICE_PROFILE 0x102E
210
- #define CL_DEVICE_VERSION 0x102F
211
- #define CL_DEVICE_EXTENSIONS 0x1030
212
- #define CL_DEVICE_PLATFORM 0x1031
213
-
214
- // cl_device_address_info - bitfield
215
- #define CL_DEVICE_ADDRESS_32_BITS (1 << 0)
216
- #define CL_DEVICE_ADDRESS_64_BITS (1 << 1)
217
-
218
- // cl_device_fp_config - bitfield
219
- #define CL_FP_DENORM (1 << 0)
220
- #define CL_FP_INF_NAN (1 << 1)
221
- #define CL_FP_ROUND_TO_NEAREST (1 << 2)
222
- #define CL_FP_ROUND_TO_ZERO (1 << 3)
223
- #define CL_FP_ROUND_TO_INF (1 << 4)
224
- #define CL_FP_FMA (1 << 5)
225
-
226
- // cl_device_mem_cache_type
227
- #define CL_NONE 0x0
228
- #define CL_READ_ONLY_CACHE 0x1
229
- #define CL_READ_WRITE_CACHE 0x2
230
-
231
- // cl_device_local_mem_type
232
- #define CL_LOCAL 0x1
233
- #define CL_GLOBAL 0x2
234
-
235
- // cl_device_exec_capabilities - bitfield
236
- #define CL_EXEC_KERNEL (1 << 0)
237
- #define CL_EXEC_NATIVE_KERNEL (1 << 1)
238
-
239
- // cl_command_queue_properties - bitfield
240
- #define CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE (1 << 0)
241
- #define CL_QUEUE_PROFILING_ENABLE (1 << 1)
242
-
243
- // cl_context_info
244
- #define CL_CONTEXT_REFERENCE_COUNT 0x1080
245
- #define CL_CONTEXT_NUM_DEVICES 0x1081
246
- #define CL_CONTEXT_DEVICES 0x1082
247
- #define CL_CONTEXT_PROPERTIES 0x1083
248
- #define CL_CONTEXT_PLATFORM 0x1084
249
-
250
- // cl_command_queue_info
251
- #define CL_QUEUE_CONTEXT 0x1090
252
- #define CL_QUEUE_DEVICE 0x1091
253
- #define CL_QUEUE_REFERENCE_COUNT 0x1092
254
- #define CL_QUEUE_PROPERTIES 0x1093
255
-
256
- // cl_mem_flags - bitfield
257
- #define CL_MEM_READ_WRITE (1 << 0)
258
- #define CL_MEM_WRITE_ONLY (1 << 1)
259
- #define CL_MEM_READ_ONLY (1 << 2)
260
- #define CL_MEM_USE_HOST_PTR (1 << 3)
261
- #define CL_MEM_ALLOC_HOST_PTR (1 << 4)
262
- #define CL_MEM_COPY_HOST_PTR (1 << 5)
263
-
264
- // cl_channel_order
265
- #define CL_R 0x10B0
266
- #define CL_A 0x10B1
267
- #define CL_RG 0x10B2
268
- #define CL_RA 0x10B3
269
- #define CL_RGB 0x10B4
270
- #define CL_RGBA 0x10B5
271
- #define CL_BGRA 0x10B6
272
- #define CL_ARGB 0x10B7
273
- #define CL_INTENSITY 0x10B8
274
- #define CL_LUMINANCE 0x10B9
275
-
276
- // cl_channel_type
277
- #define CL_SNORM_INT8 0x10D0
278
- #define CL_SNORM_INT16 0x10D1
279
- #define CL_UNORM_INT8 0x10D2
280
- #define CL_UNORM_INT16 0x10D3
281
- #define CL_UNORM_SHORT_565 0x10D4
282
- #define CL_UNORM_SHORT_555 0x10D5
283
- #define CL_UNORM_INT_101010 0x10D6
284
- #define CL_SIGNED_INT8 0x10D7
285
- #define CL_SIGNED_INT16 0x10D8
286
- #define CL_SIGNED_INT32 0x10D9
287
- #define CL_UNSIGNED_INT8 0x10DA
288
- #define CL_UNSIGNED_INT16 0x10DB
289
- #define CL_UNSIGNED_INT32 0x10DC
290
- #define CL_HALF_FLOAT 0x10DD
291
- #define CL_FLOAT 0x10DE
292
-
293
- // cl_mem_object_type
294
- #define CL_MEM_OBJECT_BUFFER 0x10F0
295
- #define CL_MEM_OBJECT_IMAGE2D 0x10F1
296
- #define CL_MEM_OBJECT_IMAGE3D 0x10F2
297
-
298
- // cl_mem_info
299
- #define CL_MEM_TYPE 0x1100
300
- #define CL_MEM_FLAGS 0x1101
301
- #define CL_MEM_SIZE 0x1102
302
- #define CL_MEM_HOST_PTR 0x1103
303
- #define CL_MEM_MAP_COUNT 0x1104
304
- #define CL_MEM_REFERENCE_COUNT 0x1105
305
- #define CL_MEM_CONTEXT 0x1106
306
-
307
- // cl_image_info
308
- #define CL_IMAGE_FORMAT 0x1110
309
- #define CL_IMAGE_ELEMENT_SIZE 0x1111
310
- #define CL_IMAGE_ROW_PITCH 0x1112
311
- #define CL_IMAGE_SLICE_PITCH 0x1113
312
- #define CL_IMAGE_WIDTH 0x1114
313
- #define CL_IMAGE_HEIGHT 0x1115
314
- #define CL_IMAGE_DEPTH 0x1116
315
-
316
- // cl_addressing_mode
317
- #define CL_ADDRESS_NONE 0x1130
318
- #define CL_ADDRESS_CLAMP_TO_EDGE 0x1131
319
- #define CL_ADDRESS_CLAMP 0x1132
320
- #define CL_ADDRESS_REPEAT 0x1133
321
-
322
- // cl_filter_mode
323
- #define CL_FILTER_NEAREST 0x1140
324
- #define CL_FILTER_LINEAR 0x1141
325
-
326
- // cl_sampler_info
327
- #define CL_SAMPLER_REFERENCE_COUNT 0x1150
328
- #define CL_SAMPLER_CONTEXT 0x1151
329
- #define CL_SAMPLER_NORMALIZED_COORDS 0x1152
330
- #define CL_SAMPLER_ADDRESSING_MODE 0x1153
331
- #define CL_SAMPLER_FILTER_MODE 0x1154
332
-
333
- // cl_map_flags - bitfield
334
- #define CL_MAP_READ (1 << 0)
335
- #define CL_MAP_WRITE (1 << 1)
336
-
337
- // cl_program_info
338
- #define CL_PROGRAM_REFERENCE_COUNT 0x1160
339
- #define CL_PROGRAM_CONTEXT 0x1161
340
- #define CL_PROGRAM_NUM_DEVICES 0x1162
341
- #define CL_PROGRAM_DEVICES 0x1163
342
- #define CL_PROGRAM_SOURCE 0x1164
343
- #define CL_PROGRAM_BINARY_SIZES 0x1165
344
- #define CL_PROGRAM_BINARIES 0x1166
345
-
346
- // cl_program_build_info
347
- #define CL_PROGRAM_BUILD_STATUS 0x1181
348
- #define CL_PROGRAM_BUILD_OPTIONS 0x1182
349
- #define CL_PROGRAM_BUILD_LOG 0x1183
350
-
351
- // cl_build_status
352
- #define CL_BUILD_SUCCESS 0
353
- #define CL_BUILD_NONE -1
354
- #define CL_BUILD_ERROR -2
355
- #define CL_BUILD_IN_PROGRESS -3
356
-
357
- // cl_kernel_info
358
- #define CL_KERNEL_FUNCTION_NAME 0x1190
359
- #define CL_KERNEL_NUM_ARGS 0x1191
360
- #define CL_KERNEL_REFERENCE_COUNT 0x1192
361
- #define CL_KERNEL_CONTEXT 0x1193
362
- #define CL_KERNEL_PROGRAM 0x1194
363
-
364
- // cl_kernel_work_group_info
365
- #define CL_KERNEL_WORK_GROUP_SIZE 0x11B0
366
- #define CL_KERNEL_COMPILE_WORK_GROUP_SIZE 0x11B1
367
- #define CL_KERNEL_LOCAL_MEM_SIZE 0x11B2
368
-
369
- // cl_event_info
370
- #define CL_EVENT_COMMAND_QUEUE 0x11D0
371
- #define CL_EVENT_COMMAND_TYPE 0x11D1
372
- #define CL_EVENT_REFERENCE_COUNT 0x11D2
373
- #define CL_EVENT_COMMAND_EXECUTION_STATUS 0x11D3
374
-
375
- // cl_command_type
376
- #define CL_COMMAND_NDRANGE_KERNEL 0x11F0
377
- #define CL_COMMAND_TASK 0x11F1
378
- #define CL_COMMAND_NATIVE_KERNEL 0x11F2
379
- #define CL_COMMAND_READ_BUFFER 0x11F3
380
- #define CL_COMMAND_WRITE_BUFFER 0x11F4
381
- #define CL_COMMAND_COPY_BUFFER 0x11F5
382
- #define CL_COMMAND_READ_IMAGE 0x11F6
383
- #define CL_COMMAND_WRITE_IMAGE 0x11F7
384
- #define CL_COMMAND_COPY_IMAGE 0x11F8
385
- #define CL_COMMAND_COPY_IMAGE_TO_BUFFER 0x11F9
386
- #define CL_COMMAND_COPY_BUFFER_TO_IMAGE 0x11FA
387
- #define CL_COMMAND_MAP_BUFFER 0x11FB
388
- #define CL_COMMAND_MAP_IMAGE 0x11FC
389
- #define CL_COMMAND_UNMAP_MEM_OBJECT 0x11FD
390
- #define CL_COMMAND_MARKER 0x11FE
391
- #define CL_COMMAND_WAIT_FOR_EVENTS 0x11FF
392
- #define CL_COMMAND_BARRIER 0x1200
393
- #define CL_COMMAND_ACQUIRE_GL_OBJECTS 0x1201
394
- #define CL_COMMAND_RELEASE_GL_OBJECTS 0x1202
395
-
396
- // command execution status
397
- #define CL_COMPLETE 0x0
398
- #define CL_RUNNING 0x1
399
- #define CL_SUBMITTED 0x2
400
- #define CL_QUEUED 0x3
401
-
402
- // cl_profiling_info
403
- #define CL_PROFILING_COMMAND_QUEUED 0x1280
404
- #define CL_PROFILING_COMMAND_SUBMIT 0x1281
405
- #define CL_PROFILING_COMMAND_START 0x1282
406
- #define CL_PROFILING_COMMAND_END 0x1283
407
-
408
- /********************************************************************************************************/
409
-
410
- // Platform API
411
- extern CL_API_ENTRY cl_int CL_API_CALL
412
- clGetPlatformIDs(cl_uint /* num_entries */,
413
- cl_platform_id * /* platforms */,
414
- cl_uint * /* num_platforms */) CL_API_SUFFIX__VERSION_1_0;
415
-
416
- extern CL_API_ENTRY cl_int CL_API_CALL
417
- clGetPlatformInfo(cl_platform_id /* platform */,
418
- cl_platform_info /* param_name */,
419
- size_t /* param_value_size */,
420
- void * /* param_value */,
421
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
422
-
423
- // Device APIs
424
- extern CL_API_ENTRY cl_int CL_API_CALL
425
- clGetDeviceIDs(cl_platform_id /* platform */,
426
- cl_device_type /* device_type */,
427
- cl_uint /* num_entries */,
428
- cl_device_id * /* devices */,
429
- cl_uint * /* num_devices */) CL_API_SUFFIX__VERSION_1_0;
430
-
431
- extern CL_API_ENTRY cl_int CL_API_CALL
432
- clGetDeviceInfo(cl_device_id /* device */,
433
- cl_device_info /* param_name */,
434
- size_t /* param_value_size */,
435
- void * /* param_value */,
436
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
437
-
438
- // Context APIs
439
- extern CL_API_ENTRY cl_context CL_API_CALL
440
- clCreateContext(const cl_context_properties * /* properties */,
441
- cl_uint /* num_devices */,
442
- const cl_device_id * /* devices */,
443
- void (*pfn_notify)(const char *, const void *, size_t, void *) /* pfn_notify */,
444
- void * /* user_data */,
445
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
446
-
447
- extern CL_API_ENTRY cl_context CL_API_CALL
448
- clCreateContextFromType(const cl_context_properties * /* properties */,
449
- cl_device_type /* device_type */,
450
- void (*pfn_notify)(const char *, const void *, size_t, void *) /* pfn_notify */,
451
- void * /* user_data */,
452
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
453
-
454
- extern CL_API_ENTRY cl_int CL_API_CALL
455
- clRetainContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
456
-
457
- extern CL_API_ENTRY cl_int CL_API_CALL
458
- clReleaseContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
459
-
460
- extern CL_API_ENTRY cl_int CL_API_CALL
461
- clGetContextInfo(cl_context /* context */,
462
- cl_context_info /* param_name */,
463
- size_t /* param_value_size */,
464
- void * /* param_value */,
465
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
466
-
467
- // Command Queue APIs
468
- extern CL_API_ENTRY cl_command_queue CL_API_CALL
469
- clCreateCommandQueue(cl_context /* context */,
470
- cl_device_id /* device */,
471
- cl_command_queue_properties /* properties */,
472
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
473
-
474
- extern CL_API_ENTRY cl_int CL_API_CALL
475
- clRetainCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
476
-
477
- extern CL_API_ENTRY cl_int CL_API_CALL
478
- clReleaseCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
479
-
480
- extern CL_API_ENTRY cl_int CL_API_CALL
481
- clGetCommandQueueInfo(cl_command_queue /* command_queue */,
482
- cl_command_queue_info /* param_name */,
483
- size_t /* param_value_size */,
484
- void * /* param_value */,
485
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
486
-
487
- extern CL_API_ENTRY cl_int CL_API_CALL
488
- clSetCommandQueueProperty(cl_command_queue /* command_queue */,
489
- cl_command_queue_properties /* properties */,
490
- cl_bool /* enable */,
491
- cl_command_queue_properties * /* old_properties */) CL_API_SUFFIX__VERSION_1_0;
492
-
493
- // Memory Object APIs
494
- extern CL_API_ENTRY cl_mem CL_API_CALL
495
- clCreateBuffer(cl_context /* context */,
496
- cl_mem_flags /* flags */,
497
- size_t /* size */,
498
- void * /* host_ptr */,
499
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
500
-
501
- extern CL_API_ENTRY cl_mem CL_API_CALL
502
- clCreateImage2D(cl_context /* context */,
503
- cl_mem_flags /* flags */,
504
- const cl_image_format * /* image_format */,
505
- size_t /* image_width */,
506
- size_t /* image_height */,
507
- size_t /* image_row_pitch */,
508
- void * /* host_ptr */,
509
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
510
-
511
- extern CL_API_ENTRY cl_mem CL_API_CALL
512
- clCreateImage3D(cl_context /* context */,
513
- cl_mem_flags /* flags */,
514
- const cl_image_format * /* image_format */,
515
- size_t /* image_width */,
516
- size_t /* image_height */,
517
- size_t /* image_depth */,
518
- size_t /* image_row_pitch */,
519
- size_t /* image_slice_pitch */,
520
- void * /* host_ptr */,
521
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
522
-
523
- extern CL_API_ENTRY cl_int CL_API_CALL
524
- clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
525
-
526
- extern CL_API_ENTRY cl_int CL_API_CALL
527
- clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
528
-
529
- extern CL_API_ENTRY cl_int CL_API_CALL
530
- clGetSupportedImageFormats(cl_context /* context */,
531
- cl_mem_flags /* flags */,
532
- cl_mem_object_type /* image_type */,
533
- cl_uint /* num_entries */,
534
- cl_image_format * /* image_formats */,
535
- cl_uint * /* num_image_formats */) CL_API_SUFFIX__VERSION_1_0;
536
-
537
- extern CL_API_ENTRY cl_int CL_API_CALL
538
- clGetMemObjectInfo(cl_mem /* memobj */,
539
- cl_mem_info /* param_name */,
540
- size_t /* param_value_size */,
541
- void * /* param_value */,
542
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
543
-
544
- extern CL_API_ENTRY cl_int CL_API_CALL
545
- clGetImageInfo(cl_mem /* image */,
546
- cl_image_info /* param_name */,
547
- size_t /* param_value_size */,
548
- void * /* param_value */,
549
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
550
-
551
- // Sampler APIs
552
- extern CL_API_ENTRY cl_sampler CL_API_CALL
553
- clCreateSampler(cl_context /* context */,
554
- cl_bool /* normalized_coords */,
555
- cl_addressing_mode /* addressing_mode */,
556
- cl_filter_mode /* filter_mode */,
557
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
558
-
559
- extern CL_API_ENTRY cl_int CL_API_CALL
560
- clRetainSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
561
-
562
- extern CL_API_ENTRY cl_int CL_API_CALL
563
- clReleaseSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
564
-
565
- extern CL_API_ENTRY cl_int CL_API_CALL
566
- clGetSamplerInfo(cl_sampler /* sampler */,
567
- cl_sampler_info /* param_name */,
568
- size_t /* param_value_size */,
569
- void * /* param_value */,
570
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
571
-
572
- // Program Object APIs
573
- extern CL_API_ENTRY cl_program CL_API_CALL
574
- clCreateProgramWithSource(cl_context /* context */,
575
- cl_uint /* count */,
576
- const char ** /* strings */,
577
- const size_t * /* lengths */,
578
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
579
-
580
- extern CL_API_ENTRY cl_program CL_API_CALL
581
- clCreateProgramWithBinary(cl_context /* context */,
582
- cl_uint /* num_devices */,
583
- const cl_device_id * /* device_list */,
584
- const size_t * /* lengths */,
585
- const unsigned char ** /* binaries */,
586
- cl_int * /* binary_status */,
587
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
588
-
589
- extern CL_API_ENTRY cl_int CL_API_CALL
590
- clRetainProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
591
-
592
- extern CL_API_ENTRY cl_int CL_API_CALL
593
- clReleaseProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
594
-
595
- extern CL_API_ENTRY cl_int CL_API_CALL
596
- clBuildProgram(cl_program /* program */,
597
- cl_uint /* num_devices */,
598
- const cl_device_id * /* device_list */,
599
- const char * /* options */,
600
- void (*pfn_notify)(cl_program /* program */, void * /* user_data */),
601
- void * /* user_data */) CL_API_SUFFIX__VERSION_1_0;
602
-
603
- extern CL_API_ENTRY cl_int CL_API_CALL
604
- clUnloadCompiler(void) CL_API_SUFFIX__VERSION_1_0;
605
-
606
- extern CL_API_ENTRY cl_int CL_API_CALL
607
- clGetProgramInfo(cl_program /* program */,
608
- cl_program_info /* param_name */,
609
- size_t /* param_value_size */,
610
- void * /* param_value */,
611
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
612
-
613
- extern CL_API_ENTRY cl_int CL_API_CALL
614
- clGetProgramBuildInfo(cl_program /* program */,
615
- cl_device_id /* device */,
616
- cl_program_build_info /* param_name */,
617
- size_t /* param_value_size */,
618
- void * /* param_value */,
619
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
620
-
621
- // Kernel Object APIs
622
- extern CL_API_ENTRY cl_kernel CL_API_CALL
623
- clCreateKernel(cl_program /* program */,
624
- const char * /* kernel_name */,
625
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
626
-
627
- extern CL_API_ENTRY cl_int CL_API_CALL
628
- clCreateKernelsInProgram(cl_program /* program */,
629
- cl_uint /* num_kernels */,
630
- cl_kernel * /* kernels */,
631
- cl_uint * /* num_kernels_ret */) CL_API_SUFFIX__VERSION_1_0;
632
-
633
- extern CL_API_ENTRY cl_int CL_API_CALL
634
- clRetainKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;
635
-
636
- extern CL_API_ENTRY cl_int CL_API_CALL
637
- clReleaseKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;
638
-
639
- extern CL_API_ENTRY cl_int CL_API_CALL
640
- clSetKernelArg(cl_kernel /* kernel */,
641
- cl_uint /* arg_index */,
642
- size_t /* arg_size */,
643
- const void * /* arg_value */) CL_API_SUFFIX__VERSION_1_0;
644
-
645
- extern CL_API_ENTRY cl_int CL_API_CALL
646
- clGetKernelInfo(cl_kernel /* kernel */,
647
- cl_kernel_info /* param_name */,
648
- size_t /* param_value_size */,
649
- void * /* param_value */,
650
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
651
-
652
- extern CL_API_ENTRY cl_int CL_API_CALL
653
- clGetKernelWorkGroupInfo(cl_kernel /* kernel */,
654
- cl_device_id /* device */,
655
- cl_kernel_work_group_info /* param_name */,
656
- size_t /* param_value_size */,
657
- void * /* param_value */,
658
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
659
-
660
- // Event Object APIs
661
- extern CL_API_ENTRY cl_int CL_API_CALL
662
- clWaitForEvents(cl_uint /* num_events */,
663
- const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
664
-
665
- extern CL_API_ENTRY cl_int CL_API_CALL
666
- clGetEventInfo(cl_event /* event */,
667
- cl_event_info /* param_name */,
668
- size_t /* param_value_size */,
669
- void * /* param_value */,
670
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
671
-
672
- extern CL_API_ENTRY cl_int CL_API_CALL
673
- clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
674
-
675
- extern CL_API_ENTRY cl_int CL_API_CALL
676
- clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
677
-
678
- // Profiling APIs
679
- extern CL_API_ENTRY cl_int CL_API_CALL
680
- clGetEventProfilingInfo(cl_event /* event */,
681
- cl_profiling_info /* param_name */,
682
- size_t /* param_value_size */,
683
- void * /* param_value */,
684
- size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
685
-
686
- // Flush and Finish APIs
687
- extern CL_API_ENTRY cl_int CL_API_CALL
688
- clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
689
-
690
- extern CL_API_ENTRY cl_int CL_API_CALL
691
- clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
692
-
693
- // Enqueued Commands APIs
694
- extern CL_API_ENTRY cl_int CL_API_CALL
695
- clEnqueueReadBuffer(cl_command_queue /* command_queue */,
696
- cl_mem /* buffer */,
697
- cl_bool /* blocking_read */,
698
- size_t /* offset */,
699
- size_t /* cb */,
700
- void * /* ptr */,
701
- cl_uint /* num_events_in_wait_list */,
702
- const cl_event * /* event_wait_list */,
703
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
704
-
705
- extern CL_API_ENTRY cl_int CL_API_CALL
706
- clEnqueueWriteBuffer(cl_command_queue /* command_queue */,
707
- cl_mem /* buffer */,
708
- cl_bool /* blocking_write */,
709
- size_t /* offset */,
710
- size_t /* cb */,
711
- const void * /* ptr */,
712
- cl_uint /* num_events_in_wait_list */,
713
- const cl_event * /* event_wait_list */,
714
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
715
-
716
- extern CL_API_ENTRY cl_int CL_API_CALL
717
- clEnqueueCopyBuffer(cl_command_queue /* command_queue */,
718
- cl_mem /* src_buffer */,
719
- cl_mem /* dst_buffer */,
720
- size_t /* src_offset */,
721
- size_t /* dst_offset */,
722
- size_t /* cb */,
723
- cl_uint /* num_events_in_wait_list */,
724
- const cl_event * /* event_wait_list */,
725
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
726
-
727
- extern CL_API_ENTRY cl_int CL_API_CALL
728
- clEnqueueReadImage(cl_command_queue /* command_queue */,
729
- cl_mem /* image */,
730
- cl_bool /* blocking_read */,
731
- const size_t * /* origin[3] */,
732
- const size_t * /* region[3] */,
733
- size_t /* row_pitch */,
734
- size_t /* slice_pitch */,
735
- void * /* ptr */,
736
- cl_uint /* num_events_in_wait_list */,
737
- const cl_event * /* event_wait_list */,
738
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
739
-
740
- extern CL_API_ENTRY cl_int CL_API_CALL
741
- clEnqueueWriteImage(cl_command_queue /* command_queue */,
742
- cl_mem /* image */,
743
- cl_bool /* blocking_write */,
744
- const size_t * /* origin[3] */,
745
- const size_t * /* region[3] */,
746
- size_t /* input_row_pitch */,
747
- size_t /* input_slice_pitch */,
748
- const void * /* ptr */,
749
- cl_uint /* num_events_in_wait_list */,
750
- const cl_event * /* event_wait_list */,
751
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
752
-
753
- extern CL_API_ENTRY cl_int CL_API_CALL
754
- clEnqueueCopyImage(cl_command_queue /* command_queue */,
755
- cl_mem /* src_image */,
756
- cl_mem /* dst_image */,
757
- const size_t * /* src_origin[3] */,
758
- const size_t * /* dst_origin[3] */,
759
- const size_t * /* region[3] */,
760
- cl_uint /* num_events_in_wait_list */,
761
- const cl_event * /* event_wait_list */,
762
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
763
-
764
- extern CL_API_ENTRY cl_int CL_API_CALL
765
- clEnqueueCopyImageToBuffer(cl_command_queue /* command_queue */,
766
- cl_mem /* src_image */,
767
- cl_mem /* dst_buffer */,
768
- const size_t * /* src_origin[3] */,
769
- const size_t * /* region[3] */,
770
- size_t /* dst_offset */,
771
- cl_uint /* num_events_in_wait_list */,
772
- const cl_event * /* event_wait_list */,
773
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
774
-
775
- extern CL_API_ENTRY cl_int CL_API_CALL
776
- clEnqueueCopyBufferToImage(cl_command_queue /* command_queue */,
777
- cl_mem /* src_buffer */,
778
- cl_mem /* dst_image */,
779
- size_t /* src_offset */,
780
- const size_t * /* dst_origin[3] */,
781
- const size_t * /* region[3] */,
782
- cl_uint /* num_events_in_wait_list */,
783
- const cl_event * /* event_wait_list */,
784
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
785
-
786
- extern CL_API_ENTRY void * CL_API_CALL
787
- clEnqueueMapBuffer(cl_command_queue /* command_queue */,
788
- cl_mem /* buffer */,
789
- cl_bool /* blocking_map */,
790
- cl_map_flags /* map_flags */,
791
- size_t /* offset */,
792
- size_t /* cb */,
793
- cl_uint /* num_events_in_wait_list */,
794
- const cl_event * /* event_wait_list */,
795
- cl_event * /* event */,
796
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
797
-
798
- extern CL_API_ENTRY void * CL_API_CALL
799
- clEnqueueMapImage(cl_command_queue /* command_queue */,
800
- cl_mem /* image */,
801
- cl_bool /* blocking_map */,
802
- cl_map_flags /* map_flags */,
803
- const size_t * /* origin[3] */,
804
- const size_t * /* region[3] */,
805
- size_t * /* image_row_pitch */,
806
- size_t * /* image_slice_pitch */,
807
- cl_uint /* num_events_in_wait_list */,
808
- const cl_event * /* event_wait_list */,
809
- cl_event * /* event */,
810
- cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
811
-
812
- extern CL_API_ENTRY cl_int CL_API_CALL
813
- clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
814
- cl_mem /* memobj */,
815
- void * /* mapped_ptr */,
816
- cl_uint /* num_events_in_wait_list */,
817
- const cl_event * /* event_wait_list */,
818
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
819
-
820
- extern CL_API_ENTRY cl_int CL_API_CALL
821
- clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,
822
- cl_kernel /* kernel */,
823
- cl_uint /* work_dim */,
824
- const size_t * /* global_work_offset */,
825
- const size_t * /* global_work_size */,
826
- const size_t * /* local_work_size */,
827
- cl_uint /* num_events_in_wait_list */,
828
- const cl_event * /* event_wait_list */,
829
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
830
-
831
- extern CL_API_ENTRY cl_int CL_API_CALL
832
- clEnqueueTask(cl_command_queue /* command_queue */,
833
- cl_kernel /* kernel */,
834
- cl_uint /* num_events_in_wait_list */,
835
- const cl_event * /* event_wait_list */,
836
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
837
-
838
- extern CL_API_ENTRY cl_int CL_API_CALL
839
- clEnqueueNativeKernel(cl_command_queue /* command_queue */,
840
- void (*user_func)(void *),
841
- void * /* args */,
842
- size_t /* cb_args */,
843
- cl_uint /* num_mem_objects */,
844
- const cl_mem * /* mem_list */,
845
- const void ** /* args_mem_loc */,
846
- cl_uint /* num_events_in_wait_list */,
847
- const cl_event * /* event_wait_list */,
848
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
849
-
850
- extern CL_API_ENTRY cl_int CL_API_CALL
851
- clEnqueueMarker(cl_command_queue /* command_queue */,
852
- cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
853
-
854
- extern CL_API_ENTRY cl_int CL_API_CALL
855
- clEnqueueWaitForEvents(cl_command_queue /* command_queue */,
856
- cl_uint /* num_events */,
857
- const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
858
-
859
- extern CL_API_ENTRY cl_int CL_API_CALL
860
- clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
861
-
862
- #ifdef __cplusplus
863
- }
864
- #endif
865
-
866
- #endif // __OPENCL_CL_H
867
-