Commit f1c6fbb
[CUDA] Warn driver version if it doesn't support memory pool. (#7912)
Fixes #7826
### Brief Summary
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 8d158a9</samp>
Check driver version and support for CUDA memory pools in
`CUDADriverContext` constructor. Warn users and avoid errors if driver
is too old.
### Walkthrough
<!--
copilot:walkthrough
-->
### <samp>🤖 Generated by Copilot at 8d158a9</samp>
* Add memory pool support for CUDA devices
([link](https://github.com/taichi-dev/taichi/pull/7912/files?diff=unified&w=0#diff-03914c736ef6eca99a9941fae49ef3ee93a9ad1c9a690e31dd1e8862183c154aL33-R47),
F0
---------
Co-authored-by: haidong lan <haidonglan@taichigraphics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent a4ae2db commit f1c6fbb
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
37 | 50 | | |
38 | 51 | | |
39 | 52 | | |
| |||
0 commit comments