cdsousa / cutextures.jl Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED, moved into CUDA.jl] CUDA textures ("CUDA arrays") interface for native Julia
Home Page: https://github.com/JuliaGPU/CUDA.jl
License: MIT License
[DEPRECATED, moved into CUDA.jl] CUDA textures ("CUDA arrays") interface for native Julia
Home Page: https://github.com/JuliaGPU/CUDA.jl
License: MIT License
first off, great work bringing this to the community, hoping I can get your help just a little further:
If I have a stack of images, and I need to occasionally overwrite say:
'''
using CuTextures, CuArrays
data = CuArrays.rand(1000,1000,32);
textures = [CuTexture(CuTextureArray(data[:,:,i])) for i in 1:32];
while true
idx = mod(rand(Int8),32)+1;
textures[idx] = CuTexture(CuTextureArray(CuArrays.rand(1000,1000)));
end
'''
this will steal all your memory in the blink of an eye, what I need to do is clean/unbind/garbage collect old images.
The other thing I need to do is be able to access across multiple textures in a kernel call, I don't really care how it would be stored, in the above I store it in an "any", which can't be accessed in a kernel with calls like '''textures2'''
again, thank you for doing as much as you have
Thanks for the amazing work. I may be wrong, but is it right that this package doesn't support 3D array yet?
For example, I have a 3D voxel image and I want to interpolate at a specific position.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.