llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[UR][Offload] Tracking issue for UR features required to run compute benchmarks

Open RossBrunton opened this issue 4 months ago • 0 comments

This is a list of entry points and information queries that a run of the following compute benchmarks runs without Offload:

  • api_overhead_benchmark
  • memory_benchmark
  • miscellaneous_benchmark
  • multithread_benchmark
  • ulls_benchmark

Of course, the offload adapter may go down a different path, but it's a reasonable starting point for measuring what needs done to have a chance of running compute benchmarks successfully.

Entry Points

  • [x] urAdapterGet
  • [x] urAdapterGetInfo
  • [x] urAdapterSetLoggerCallback (Optional)
  • [x] urContextCreate
  • [x] urContextRelease
  • [x] urDeviceGet
  • [ ] urDeviceGetGlobalTimestamps (Optional)
  • [x] urDeviceGetInfo
  • [x] urDeviceRelease
  • [x] urDeviceRetain
  • [x] urDeviceSelectBinary
  • [x] urEnqueueKernelLaunch
  • [ ] urEnqueueMemBufferRead
  • [ ] urEnqueueUSMMemcpy
  • [x] urEventGetProfilingInfo (No-op)
  • [x] urEventRelease
  • [x] urEventWait
  • [x] urKernelCreate
  • [x] urKernelGetGroupInfo
  • [x] urKernelRelease
  • [x] urKernelRetain
  • [ ] urKernelSetArgMemObj
  • [x] urKernelSetArgPointer
  • [x] urKernelSetArgValue
  • [x] urKernelSetExecInfo (No-op)
  • [ ] urMemBufferCreate
  • [ ] urMemGetNativeHandle
  • [ ] urMemRelease
  • [x] urPlatformGet
  • [x] urPlatformGetBackendOption
  • [x] urPlatformGetInfo
  • [x] urProgramBuildExp
  • [ ] urProgramCreateWithIL
  • [x] urProgramRelease
  • [x] urProgramRetain
  • [x] urQueueCreate
  • [x] urQueueFinish
  • [x] urQueueRelease
  • [x] urUSMDeviceAlloc
  • [x] urUSMFree
  • [x] urUSMHostAlloc

Info Queries

  • [x] UR_ADAPTER_INFO_BACKEND
  • [ ] UR_DEVICE_INFO_COMPILER_AVAILABLE
  • [ ] UR_DEVICE_INFO_COMPONENT_DEVICES (Optional)
  • [ ] UR_DEVICE_INFO_DEVICE_ID (Optional)
  • [x] UR_DEVICE_INFO_DRIVER_VERSION
  • [x] UR_DEVICE_INFO_EXTENSIONS
  • [ ] UR_DEVICE_INFO_HOST_UNIFIED_MEMORY
  • [ ] UR_DEVICE_INFO_MAX_WORK_GROUPS_3D
  • [x] UR_DEVICE_INFO_NAME
  • [x] UR_DEVICE_INFO_PARENT_DEVICE
  • [ ] UR_DEVICE_INFO_QUEUE_PROPERTIES
  • [x] UR_DEVICE_INFO_TYPE
  • [ ] UR_DEVICE_INFO_USE_NATIVE_ASSERT
  • [x] UR_DEVICE_INFO_USM_DEVICE_SUPPORT (Reports feature is unsupported)
  • [x] UR_DEVICE_INFO_USM_HOST_SUPPORT (Reports feature is unsupported)
  • [x] UR_DEVICE_INFO_USM_SINGLE_SHARED_SUPPORT (Reports feature is unsupported)
  • [x] UR_DEVICE_INFO_VENDOR
  • [ ] UR_DEVICE_INFO_VENDOR_ID
  • [x] UR_DEVICE_INFO_VERSION
  • [ ] UR_KERNEL_EXEC_INFO_USM_INDIRECT_ACCESS
  • [x] UR_KERNEL_GROUP_INFO_COMPILE_WORK_GROUP_SIZE
  • [x] UR_PLATFORM_INFO_BACKEND
  • [x] UR_PLATFORM_INFO_NAME
  • [ ] UR_PROFILING_INFO_COMMAND_END (Optional)
  • [ ] UR_PROFILING_INFO_COMMAND_START (Optional)

RossBrunton avatar Jun 16 '25 12:06 RossBrunton