* It is currently a caller's responsibility to call it only on not-yet allocated buffers.
*
* \tparam ValueType Raw value type of the \p buffer.
- * \param[in,out] buffer Pointer to the device-side buffer.
- * \param[in] numValues Number of values to accomodate.
- * \param[in] deviceContext The buffer's device context-to-be.
+ * param[in,out] buffer Pointer to the device-side buffer.
+ * param[in] numValues Number of values to accomodate.
+ * param[in] deviceContext The buffer's device context-to-be.
*/
template<typename ValueType>
void allocateDeviceBuffer(DeviceBuffer<ValueType>* /* buffer */,
* as this is planned to be a destructor of DeviceBuffer as a proper class,
* and no calls on \p buffer should be made afterwards.
*
- * \param[in] buffer Pointer to the buffer to free.
+ * param[in] buffer Pointer to the buffer to free.
*/
template<typename DeviceBuffer>
void freeDeviceBuffer(DeviceBuffer* /* buffer */)
* because of the early return.
*
* \tparam ValueType Raw value type of the \p buffer.
- * \param[in,out] buffer Pointer to the device-side buffer
- * \param[in] hostBuffer Pointer to the raw host-side memory, also typed \p ValueType
- * \param[in] startingOffset Offset (in values) at the device-side buffer to copy into.
- * \param[in] numValues Number of values to copy.
- * \param[in] deviceStream GPU stream to perform asynchronous copy in.
- * \param[in] transferKind Copy type: synchronous or asynchronous.
- * \param[out] timingEvent A pointer to the H2D copy timing event to be filled in.
+ * param[in,out] buffer Pointer to the device-side buffer
+ * param[in] hostBuffer Pointer to the raw host-side memory, also typed \p ValueType
+ * param[in] startingOffset Offset (in values) at the device-side buffer to copy into.
+ * param[in] numValues Number of values to copy.
+ * param[in] deviceStream GPU stream to perform asynchronous copy in.
+ * param[in] transferKind Copy type: synchronous or asynchronous.
+ * param[out] timingEvent A pointer to the H2D copy timing event to be filled in.
* If the pointer is not null, the event can further be used
* to queue a wait for this operation or to query profiling information.
*/
* because of the early return.
*
* \tparam ValueType Raw value type of the \p buffer.
- * \param[in,out] hostBuffer Pointer to the raw host-side memory, also typed \p ValueType
- * \param[in] buffer Pointer to the device-side buffer
- * \param[in] startingOffset Offset (in values) at the device-side buffer to copy from.
- * \param[in] numValues Number of values to copy.
- * \param[in] deviceStream GPU stream to perform asynchronous copy in.
- * \param[in] transferKind Copy type: synchronous or asynchronous.
- * \param[out] timingEvent A pointer to the H2D copy timing event to be filled in.
+ * param[in,out] hostBuffer Pointer to the raw host-side memory, also typed \p ValueType
+ * param[in] buffer Pointer to the device-side buffer
+ * param[in] startingOffset Offset (in values) at the device-side buffer to copy from.
+ * param[in] numValues Number of values to copy.
+ * param[in] deviceStream GPU stream to perform asynchronous copy in.
+ * param[in] transferKind Copy type: synchronous or asynchronous.
+ * param[out] timingEvent A pointer to the H2D copy timing event to be filled in.
* If the pointer is not null, the event can further be used
* to queue a wait for this operation or to query profiling information.
*/
* Clears the device buffer asynchronously.
*
* \tparam ValueType Raw value type of the \p buffer.
- * \param[in,out] buffer Pointer to the device-side buffer
- * \param[in] startingOffset Offset (in values) at the device-side buffer to start clearing at.
- * \param[in] numValues Number of values to clear.
- * \param[in] deviceStream GPU stream.
+ * param[in,out] buffer Pointer to the device-side buffer
+ * param[in] startingOffset Offset (in values) at the device-side buffer to start clearing at.
+ * param[in] numValues Number of values to clear.
+ * param[in] deviceStream GPU stream.
*/
template<typename ValueType>
void clearDeviceBufferAsync(DeviceBuffer<ValueType>* /* buffer */,
*
* Checks if the buffer is not nullptr and if its allocation is big enough.
*
- * \param[in] buffer Device buffer to be checked.
- * \param[in] requiredSize Number of elements that the buffer will have to accommodate.
+ * param[in] buffer Device buffer to be checked.
+ * param[in] requiredSize Number of elements that the buffer will have to accommodate.
*
* \returns Whether the device buffer can be set.
*/
*
* \tparam ValueType Raw data type.
*
- * \param[out] deviceBuffer Device buffer to store data in.
- * \param[in] hostBuffer Host buffer to get date from.
- * \param[in] numValues Number of elements in the buffer.
- * \param[in] deviceContext GPU device context.
+ * param[out] deviceBuffer Device buffer to store data in.
+ * param[in] hostBuffer Host buffer to get date from.
+ * param[in] numValues Number of elements in the buffer.
+ * param[in] deviceContext GPU device context.
*/
template<typename ValueType>
void initParamLookupTable(DeviceBuffer<ValueType>* /* deviceBuffer */,
*
* \tparam ValueType Raw data type.
*
- * \param[in,out] deviceBuffer Device buffer to store data in.
+ * param[in,out] deviceBuffer Device buffer to store data in.
*/
template<typename ValueType>
void destroyParamLookupTable(DeviceBuffer<ValueType>* /* deviceBuffer */, DeviceTexture& /* deviceTexture*/)