mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 15:59:03 +00:00
Fix return-type warnings with harness library and basic test (#776)
* Fix offending `-Wreturn-type` in harness library * Fix offending `-Wreturn-type` in basic test
This commit is contained in:
@@ -30,6 +30,10 @@ extern "C" {
|
||||
/* Determines if an extension is supported by a device. */
|
||||
int is_extension_available(cl_device_id device, const char *extensionName);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
/* Returns a string containing the supported extensions list for a device. */
|
||||
std::string get_device_extensions_string(cl_device_id device);
|
||||
|
||||
@@ -39,8 +43,4 @@ std::string get_device_il_version_string(cl_device_id device);
|
||||
/* Returns a string containing the supported OpenCL version for a device. */
|
||||
std::string get_device_version_string(cl_device_id device);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // _deviceInfo_h
|
||||
|
||||
Reference in New Issue
Block a user