Skip to content

Add comment for wrapper functions in CuArrays.jl #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 7, 2020
Merged

Add comment for wrapper functions in CuArrays.jl #183

merged 2 commits into from
Mar 7, 2020

Conversation

matsueushi
Copy link
Contributor

Some of activation functions defined in NNlib are incomplatible with GPU and they need @cufunc wrappers, which are defined in CuArrays.jl. JuliaGPU/CuArrays.jl#614

I found some activation function we added recently (e.g. celu) are GPU-unfriendly. I already submitted a PR JuliaGPU/CuArrays.jl#615 to fix this issue, but I think it is better for us to consider GPU compatibility when we add a new function or update its definition in future.

@CarloLucibello
Copy link
Member

thanks. Yes we should be more careful when adding new activations

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

Successfully merging this pull request may close these issues.

2 participants