Gets the information about device and platform as strings.
More...
|
AFAPI void | deviceprop (char *d_name, char *d_platform, char *d_toolkit, char *d_compute) |
| Gets the information about device and platform as strings. More...
|
|
AFAPI void | deviceInfo (char *d_name, char *d_platform, char *d_toolkit, char *d_compute) |
| Gets the information about device and platform as strings. More...
|
|
AFAPI af_err | af_device_info (char *d_name, char *d_platform, char *d_toolkit, char *d_compute) |
| Gets the information about device and platform as strings. More...
|
|
Gets the information about device and platform as strings.
- Parameters
-
d_name | pointer to a user-allocated char array. Recommended minimum size is 64. The name of the device is stored in this array. |
d_platform | pointer to a user-allocated char array. Recommended minimum size is 10. The platform information is stored in this array. |
d_toolkit | pointer to a user-allocated char array. Recommended minimum size is 64. The toolkit information is stored in this array. |
d_compute | pointer to a user-allocated char array. Recommended minimum size is 10. The compute version of the device is stored in this array.
|
AFAPI af_err af_device_info |
( |
char * |
d_name, |
|
|
char * |
d_platform, |
|
|
char * |
d_toolkit, |
|
|
char * |
d_compute |
|
) |
| |
Gets the information about device and platform as strings.
- Parameters
-
d_name | pointer to a user-allocated char array. Recommended minimum size is 64. The name of the device is stored in this array. |
d_platform | pointer to a user-allocated char array. Recommended minimum size is 10. The platform information is stored in this array. |
d_toolkit | pointer to a user-allocated char array. Recommended minimum size is 64. The toolkit information is stored in this array. |
d_compute | pointer to a user-allocated char array. Recommended minimum size is 10. The compute version of the device is stored in this array.
|
AFAPI void af::deviceInfo |
( |
char * |
d_name, |
|
|
char * |
d_platform, |
|
|
char * |
d_toolkit, |
|
|
char * |
d_compute |
|
) |
| |
Gets the information about device and platform as strings.
- Parameters
-
d_name | pointer to a user-allocated char array. Recommended minimum size is 64. The name of the device is stored in this array. |
d_platform | pointer to a user-allocated char array. Recommended minimum size is 10. The platform information is stored in this array. |
d_toolkit | pointer to a user-allocated char array. Recommended minimum size is 64. The toolkit information is stored in this array. |
d_compute | pointer to a user-allocated char array. Recommended minimum size is 10. The compute version of the device is stored in this array.
|
AFAPI void af::deviceprop |
( |
char * |
d_name, |
|
|
char * |
d_platform, |
|
|
char * |
d_toolkit, |
|
|
char * |
d_compute |
|
) |
| |
Gets the information about device and platform as strings.
- Parameters
-
d_name | pointer to a user-allocated char array. Recommended minimum size is 64. The name of the device is stored in this array. |
d_platform | pointer to a user-allocated char array. Recommended minimum size is 10. The platform information is stored in this array. |
d_toolkit | pointer to a user-allocated char array. Recommended minimum size is 64. The toolkit information is stored in this array. |
d_compute | pointer to a user-allocated char array. Recommended minimum size is 10. The compute version of the device is stored in this array.
|
- Deprecated:
- Use deviceInfo instead