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

Check TCC/WDDM modes during Device initialization #208

Open
leofang opened this issue Nov 1, 2024 · 0 comments
Open

Check TCC/WDDM modes during Device initialization #208

leofang opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working cuda.core Everything related to the cuda.core module P0 High priority - Must do!

Comments

@leofang
Copy link
Member

leofang commented Nov 1, 2024

To work around mempools being unavailable, we need

  1. Check CU_DEVICE_ATTRIBUTE_TCC_DRIVER and branch out a separate treatment
    • For our purpose, it might also be sufficient to just check CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED
  2. Implement a default allocator for TCC
    • Implement a concrete MemoryResource instance that just wraps cudaMalloc/cudaFree
    • Document this divergence from other platforms as a known issue
@leofang leofang added bug Something isn't working cuda.core Everything related to the cuda.core module P1 Medium priority - Should do labels Nov 1, 2024
@leofang leofang added this to the cuda.core beta 2 milestone Nov 1, 2024
@leofang leofang added P0 High priority - Must do! and removed P1 Medium priority - Should do labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda.core Everything related to the cuda.core module P0 High priority - Must do!
Projects
None yet
Development

No branches or pull requests

2 participants