Skip to content

Commit 7f6abed

Browse files
committed
Fix offsets.
1 parent 11bcfe6 commit 7f6abed

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/owOpenCLSolver.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,8 @@ void owOpenCLSolver::create_ocl_buffer(const char *name, cl::Buffer &b, const cl
10191019
* OpenCL memory flags more info (https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/enums.html)
10201020
* @param size
10211021
* buffer's size
1022-
* @return value taking after enqueue a command to write buffet to a device.
1023-
* More info here (http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clEnqueueWriteBuffer.html)
1022+
* @return value taking after enqueue a command to write buffet to a device.
1023+
* More info here (http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clEnqueueWriteBuffer.html)
10241024
*/
10251025
int owOpenCLSolver::copy_buffer_to_device(const void *host_b, cl::Buffer &ocl_b, const int size )
10261026
{
@@ -1041,8 +1041,8 @@ int owOpenCLSolver::copy_buffer_to_device(const void *host_b, cl::Buffer &ocl_b,
10411041
* OpenCL memory flags more info (https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/enums.html)
10421042
* @param size
10431043
* buffer's size
1044-
* @return value taking after enqueue a command to read buffet from a device.
1045-
* More info here (http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clEnqueueReadBuffer.html)
1044+
* @return value taking after enqueue a command to read buffet from a device.
1045+
* More info here (http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clEnqueueReadBuffer.html)
10461046
*/
10471047
int owOpenCLSolver::copy_buffer_from_device(void *host_b, const cl::Buffer &ocl_b, const int size )
10481048
{

src/owPhysicsFluidSimulator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void owPhysicsFluidSimulator::reset(){
166166
double owPhysicsFluidSimulator::simulationStep(const bool load_to)
167167
{
168168
int iter = 0;//PCISPH prediction-correction iterations counter
169-
//
169+
//
170170
// now we will implement sensory system of the c. elegans worm, mechanosensory one
171171
// here we plan to implement the part of openworm sensory system, which is still
172172
// one of the grand challenges of this project

0 commit comments

Comments
 (0)