@@ -286,7 +286,7 @@ ur_result_t _ur_platform_handle_t::initialize() {
286286 return UR_RESULT_SUCCESS ;
287287}
288288
289- ur_result_t urPlatformGet (
289+ UR_APIEXPORT ur_result_t UR_APICALL urPlatformGet (
290290 uint32_t NumEntries, // /< [in] the number of platforms to be added to
291291 // /< phPlatforms. If phPlatforms is not NULL, then
292292 // /< NumEntries should be greater than zero, otherwise
@@ -403,7 +403,7 @@ ur_result_t urPlatformGet(
403403 return UR_RESULT_SUCCESS ;
404404}
405405
406- ur_result_t urPlatformGetInfo (
406+ UR_APIEXPORT ur_result_t UR_APICALL urPlatformGetInfo (
407407 ur_platform_handle_t Platform, // /< [in] handle of the platform
408408 ur_platform_info_t ParamName, // /< [in] type of the info to retrieve
409409 size_t Size, // /< [in] the number of bytes pointed to by pPlatformInfo.
@@ -457,7 +457,7 @@ ur_result_t urPlatformGetInfo(
457457 return UR_RESULT_SUCCESS ;
458458}
459459
460- ur_result_t urDeviceGet (
460+ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGet (
461461 ur_platform_handle_t Platform, // /< [in] handle of the platform instance
462462 ur_device_type_t DeviceType, // /< [in] the type of the devices.
463463 uint32_t NumEntries, // /< [in] the number of devices to be added to
@@ -534,7 +534,7 @@ ur_result_t urDeviceGet(
534534 return UR_RESULT_SUCCESS ;
535535}
536536
537- ur_result_t urDeviceGetInfo (
537+ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo (
538538 ur_device_handle_t Device, // /< [in] handle of the device instance
539539 ur_device_info_t ParamName, // /< [in] type of the info to retrieve
540540 size_t propSize, // /< [in] the number of bytes pointed to by pDeviceInfo.
@@ -1660,7 +1660,7 @@ void ZeUSMImportExtension::doZeUSMRelease(ze_driver_handle_t DriverHandle,
16601660 ZE_CALL_NOCHECK (zexDriverReleaseImportedPointer, (DriverHandle, HostPtr));
16611661}
16621662
1663- ur_result_t urDevicePartition (
1663+ UR_APIEXPORT ur_result_t UR_APICALL urDevicePartition (
16641664 ur_device_handle_t Device, // /< [in] handle of the device to partition.
16651665 const ur_device_partition_property_t
16661666 *Properties, // /< [in] null-terminated array of <$_device_partition_t
@@ -1741,9 +1741,3 @@ ur_result_t urDevicePartition(
17411741 }
17421742 return UR_RESULT_SUCCESS ;
17431743}
1744-
1745- ur_result_t urInit (ur_device_init_flags_t device_flags) {
1746- return UR_RESULT_SUCCESS ;
1747- }
1748-
1749- ur_result_t urTearDown (void *pParams) { return UR_RESULT_SUCCESS ; }
0 commit comments