Comments (3)
Hello,
Originally I thought the user should zero-initialize the app struct before initialization as to not allow potential memory leaks (for example, if initializeVkFFT is called twice on the same app without freeing resources first).
Now I see that it is possible to add a full app memset to zero in the deleteVkFFT call and add a check for app bytes being zero in the initializeVkFFT call. This should be a better approach compared to setting configuration to zero.
I will add this in the next update.
Best regards,
Dmitrii
from vkfft.
Hi Dmitrii,
thank you for your reply. I am sorry, it was my mistake, I accidentally forgot to zero initialize the app object when I moved from OpenCL to CUDA. After zero initialization everything works fine.
Once again thank you very much.
Best regards,
David
from vkfft.
Hello,
I have added the checks for the app being zero and freeing the resources on being deleted. It will be soon merged into the master branch, thanks for suggesting it!
Best regards,
Dmitrii
from vkfft.
Related Issues (20)
- WebGPU compute backend HOT 1
- Large errors using Intel OpenCL for CPUs HOT 8
- Allow complex transforms to use non-interleaved memory layouts (separate I and Q buffers) HOT 3
- Segmentation fault with 1.3.3 HOT 2
- Merge DCT and DST into DTT HOT 4
- [1.3.4] #include glslang_c_interface.h -> glslang/Include/glslang_c_interface.h HOT 1
- [1.3.4] Could you detect and use the system glslang via cmake HOT 1
- Support VK_KHR_push_descriptor to allow multiple invocations with different buffers in a single command buffer HOT 3
- initializeVkFFT throws an exception for small-size convolutions HOT 3
- Multiple systems - one kernel - multiple outputs convolution HOT 10
- in order to use VkFFT, my machine must have a Vulkan driver installed ? HOT 1
- how to dump the generated source kernel? HOT 6
- CUDA&HIP stream asynchronicity HOT 2
- Use enum for precision HOT 2
- Error module and new error handling HOT 2
- Allow HIP to be used with NVIDIA GPUs HOT 1
- [Metal] red herring
- Suggestion: add CITATION.cff HOT 1
- device function performing FFT/DCT of data in shared memory (feature request / feasability) HOT 1
- Creating Multiple VkFFTApplication plans HOT 4
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 vkfft.