Skip to content
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

Small matrix sizes #97

Open
maleadt opened this issue Jul 14, 2022 · 0 comments
Open

Small matrix sizes #97

maleadt opened this issue Jul 14, 2022 · 0 comments

Comments

@maleadt
Copy link
Member

maleadt commented Jul 14, 2022

julia> a = CUDA.rand(Float16, 4, 4);

julia> b = CUDA.rand(Float16, 4, 4);

julia> c = CUDA.zeros(Float32, 4, 4);

julia> GemmKernels.BLAS.gemmEx!('N', 'N', 1f0, a, b, 0f0, c)
conf.launch_args = (threads = 256, blocks = (0, 0), shmem = 65536)
ERROR: ArgumentError: Grid dimensions should be non-null

Culprit: https://github.com/JuliaGPU/GemmKernels.jl/blob/c376fdca8fa196614b10a683871058dd1be9ce42/src/config.jl#L42=
Should probably be a cld, but even then the computed values are wrong.

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

No branches or pull requests

1 participant