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

InitError: Cannot use memory pool 'binned' when CUDA.jl was precompiled for memory pool 'split'. #446

Closed
jonathan-laurent opened this issue Sep 24, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@jonathan-laurent
Copy link

I got the following error when using my AlphaZero.jl package with CUDA v1.3.3:

InitError: Cannot use memory pool 'binned' when CUDA.jl was precompiled for memory pool 'split'.

Does this mean that it is no longer possible to alternate between different types of memory pools by running the same program with different values for JULIA_CUDA_MEMORY_POOL?

@jonathan-laurent jonathan-laurent added the bug Something isn't working label Sep 24, 2020
@maleadt
Copy link
Member

maleadt commented Sep 24, 2020

Correct, you need to precompile again. This as part of the (ongoing) effort to speed up the memory allocator, and make the alloc function somewhat simpler. The whole idea of multiple memory pools is hopefully going away at some point too, we just need one reasonably fast implementation (if necessary tunable).

@maleadt maleadt closed this as completed Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants