Commit 4d406d6
committed
feat(examples): add query_props example to print runtime device props (sm_52)
Provides a simple way to assert Tesla M40 (sm_52) selection at runtime via CudaContext::current_device_props().
Refs: #16
Co-authored-by: openhands <openhands@all-hands.dev>1 parent 7256dc4 commit 4d406d6
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments