-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Runtime] Driver version + consistent clock speed units (#7867)
* Added kDriverVersion to DeviceAttrKind, implemented for VulkanDeviceAPI. The vulkan backend has had inconsistencies that look correlated to drivers used. This will help in collecting information for troubleshooting. * Changed units for OpenCL's clock rate from MHz to kHz, to match Cuda/ROCm. * [Docs][Runtime] Additional documentation for tvm.runtime.Device, DeviceAPI feature matching Primarily documentation, with some changes to the OpenCL DeviceAPI to match available features in cuda/vulkan. * Added CL_TARGET_OPENCL_VERSION definition, for use with unified OpenCL headers. Co-authored-by: Eric Lunderberg <[email protected]>
- Loading branch information
1 parent
1c71a06
commit 46e0634
Showing
8 changed files
with
213 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,8 @@ | |
return; | ||
case kApiVersion: | ||
return; | ||
case kDriverVersion: | ||
return; | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters