Giter Site home page Giter Site logo

Comments (3)

ali-ramadhan avatar ali-ramadhan commented on July 3, 2024

Hi @ajsagit, not a developer but a few links to get you started:
https://juliagpu.org/cuda/
https://juliagpu.org/learn/

Maybe this is the documentation you are looking for? https://juliagpu.gitlab.io/CUDA.jl/

If you're looking for the CuArrays.jl API documentation it is here: https://juliagpu.gitlab.io/CuArrays.jl/

CuArrays.zeros does not have a docstring so it's not in the API documentation but you can find the definition here:

zeros(T::Type, dims...) = fill!(CuArray{T}(undef, dims...), 0)

You can locate functions with the @functionloc macro. For example:

julia> @functionloc CuArrays.zeros(10)
("/home/alir/.julia/packages/CuArrays/1njKF/src/array.jl", 321)

To be fair, it might not be the easiest thing to find the API docs as the only link is through a badge in the CuArrays.jl README, but if you think it's not visible enough then you should open an issue on CuArrays.jl to discuss ways of making the API docs more visible.

It would be great if wonderful documentation just appeared but writing good documentation is hard work and (at least partially) community-driven for open-source projects like Julia's GPU stack. The documentation is still a work-in-progress but if you have suggestions for what should be added, e.g. docstrings for exported functions such as CuArrays.zeros, then please chime in at JuliaGPU/CUDA.jl#5

from cuarrays.jl.

maleadt avatar maleadt commented on July 3, 2024

Thanks for linking to some resources @ali-ramadhan! @ajsagit, please use Discourse or Slack for questions, the bug tracker is for filing issues.

from cuarrays.jl.

ajsagit avatar ajsagit commented on July 3, 2024

Thank you so much!

from cuarrays.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.