unified-runtime icon indicating copy to clipboard operation
unified-runtime copied to clipboard

[CUDA][HIP] Fix return type of various device attributes.

Open mmoadeli opened this issue 1 year ago • 0 comments

Modified return types of the following device attributes for CUDA and HIP backends to ensure compliance with specification

  • UR_DEVICE_INFO_IMAGE_MAX_ARRAY_SIZE
  • UR_DEVICE_INFO_MAX_PARAMETER_SIZE
  • UR_DEVICE_INFO_PROFILING_TIMER_RESOLUTION
  • UR_DEVICE_INFO_PRINTF_BUFFER_SIZE

There were failures on testing test-e2e/Basic/info.cpp on Windows due to use of invalid types.

mmoadeli avatar May 01 '24 17:05 mmoadeli