-
Notifications
You must be signed in to change notification settings - Fork 293
Make device properties prettier #210
Copy link
Copy link
Closed
Labels
P1Medium priority - Should doMedium priority - Should docuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduleenhancementAny code-related improvementsAny code-related improvements
Milestone
Metadata
Metadata
Assignees
Labels
P1Medium priority - Should doMedium priority - Should docuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduleenhancementAny code-related improvementsAny code-related improvements
Type
Fields
Give feedbackNo fields configured for issues without a type.
Similar to #205 but for
Deviceproperties. Currently we return all of them at once, with the C enumerator names as the keyscuda-python/cuda_core/cuda/core/experimental/_device.py
Lines 82 to 85 in 213baf4
We should perhaps make the returned object a Python class instead of dict, with nice, pythonic attributes.