Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Value function iteration on the gpu tutorial #281

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

floswald
Copy link

hi there,
I really enjoyed the tutorial on starting out with GPU and I thought I'd give it a go for a very specific use case. value function iteration is a very common algorithm in macro economics, and people are interested in making it more efficient. I extended your existing tutorial in that direction. it's compiled here

https://floswald.github.io/html/vfi.html

I don't know whether you want to create a space for things like this somewhere, I'm unsure it could belong to your manual; anyway, I post this here, maybe only to get some feedback on it.

thanks!

@maleadt
Copy link
Member

maleadt commented Feb 13, 2019

On the one hand it's good to have more examples, especially commented like this, but this seems very specific for a tutorial. Maybe we should add a separate examples section where documented code like this would fit in. The example is also pretty heavy on kernel programming, so I don't know whether it would better fit in CUDAnative.jl or CuArrays.jl. Thoughts, @timholy @MikeInnes?

@MikeInnes
Copy link
Collaborator

I think it's fine to consolidate our docs into CuArrays. It's easy to find then, and there's not much reason to look for it unless you are interested in doing something more advanced. I think we could probably wait to split out examples if/when we have a problem with too many tutorials, but don't have a strong opinion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants