Comments (5)
This is indeed a memory leak. Ben, there are a number of these leaks in
OpenCLInfo.cpp, please fix. Thanks.
Original comment by [email protected]
on 6 Aug 2011 at 12:50
- Changed state: Accepted
from opencl-book-samples.
Original comment by [email protected]
on 6 Aug 2011 at 12:53
from opencl-book-samples.
Is this really a memory leak? If you use alloca() to allocate memory then that
memory should be automatically deallocated upon return from the parent
function. If you used alloc() then that would be a memory leak.
Original comment by [email protected]
on 19 Aug 2011 at 4:35
from opencl-book-samples.
Indeed - Sorry I didn't notice the 'a' at the end of 'alloca'. This issue can
be closed.
Original comment by [email protected]
on 19 Aug 2011 at 6:51
from opencl-book-samples.
I missed that too, closing. Thanks.
Original comment by [email protected]
on 20 Aug 2011 at 7:42
- Changed state: Invalid
from opencl-book-samples.
Related Issues (20)
- Misleading specification for region in clEnqueueReadBufferRect docs (ch. 7 p. 270)
- Bug in example code (ch. 7 p. 271)
- Chapter 15 source code is missing
- Problem Chapter 16 Example HOT 1
- Chapter 16: Dijkstra's example has race condition on updateCostArray
- Sample Code
- Errata: Incorrect description after clGetDeviceInfo (ch.3, pg.70)
- ch6,p229
- Missing sample code for chapter 18 (Ocean, FFT), chapter 21 (Matrix Multiplication). HOT 1
- Can't find the sample code HOT 1
- Matrix Multiplication (ch.21) HOT 1
- OpenCL 1.2 compile error in sinewave example HOT 1
- work_dim argument for clEnqueueNDRangeKernel() in OpenCLConvolution sample
- Credit URL (http://gitorious.com/findopencl) is wrong
- Errata: errors in optical flow equation (p. 470)
- Ch. 7, p. 251 buffer length & type mistake
- Chapter3/OpenCLConvolution needs a copy of Convolution.cl
- failed to build HOT 1
- build error on win10 vs2015
- ECCN for opencl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencl-book-samples.