Skip to content

Commit 383035a

Browse files
committed
Add documentation for how buffers are managed in runtime.
1 parent 5164893 commit 383035a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/buffers.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Buffers
2+
3+
## Summary
4+
5+
1. Buffers are not actually allocated on device until the kernel execute, unless clEnqueueWriteBuffer are called
6+
2.
7+
8+
9+
10+
## How are buffers allocated on device
11+
12+
## When are buffers allocated on device
13+
14+
## The flow
15+
clCreateBufferWithPropertiesINTEL https://github.com/intel/fpga-runtime-for-opencl/blob/b08e0af97351718ce0368a9ee507242b35f4929e/src/acl_mem.cpp#L408-L953

0 commit comments

Comments
 (0)