|
Lines 244-250
Link Here
|
| 244 |
/*DEVICE_BUILTIN*/ |
244 |
/*DEVICE_BUILTIN*/ |
| 245 |
enum cudaGraphicsRegisterFlags |
245 |
enum cudaGraphicsRegisterFlags |
| 246 |
{ |
246 |
{ |
| 247 |
cudaGraphicsRegisterFlagsNone = 0, ///< Default |
247 |
cudaGraphicsRegisterFlagsNone = 0 ///< Default |
| 248 |
}; |
248 |
}; |
| 249 |
|
249 |
|
| 250 |
/** |
250 |
/** |
|
Lines 255-261
Link Here
|
| 255 |
{ |
255 |
{ |
| 256 |
cudaGraphicsMapFlagsNone = 0, ///< Default; Assume resource can be read/written |
256 |
cudaGraphicsMapFlagsNone = 0, ///< Default; Assume resource can be read/written |
| 257 |
cudaGraphicsMapFlagsReadOnly = 1, ///< CUDA will not write to this resource |
257 |
cudaGraphicsMapFlagsReadOnly = 1, ///< CUDA will not write to this resource |
| 258 |
cudaGraphicsMapFlagsWriteDiscard = 2, ///< CUDA will only write to and will not read from this resource |
258 |
cudaGraphicsMapFlagsWriteDiscard = 2 ///< CUDA will only write to and will not read from this resource |
| 259 |
}; |
259 |
}; |
| 260 |
|
260 |
|
| 261 |
/** |
261 |
/** |
|
Lines 268-274
Link Here
|
| 268 |
cudaGraphicsCubeFacePositiveY = 0x02, ///< Positive Y face of cubemap |
268 |
cudaGraphicsCubeFacePositiveY = 0x02, ///< Positive Y face of cubemap |
| 269 |
cudaGraphicsCubeFaceNegativeY = 0x03, ///< Negative Y face of cubemap |
269 |
cudaGraphicsCubeFaceNegativeY = 0x03, ///< Negative Y face of cubemap |
| 270 |
cudaGraphicsCubeFacePositiveZ = 0x04, ///< Positive Z face of cubemap |
270 |
cudaGraphicsCubeFacePositiveZ = 0x04, ///< Positive Z face of cubemap |
| 271 |
cudaGraphicsCubeFaceNegativeZ = 0x05, ///< Negative Z face of cubemap |
271 |
cudaGraphicsCubeFaceNegativeZ = 0x05 ///< Negative Z face of cubemap |
| 272 |
}; |
272 |
}; |
| 273 |
|
273 |
|
| 274 |
/** |
274 |
/** |