chapel icon indicating copy to clipboard operation
chapel copied to clipboard

Which device properties should we expose to the user?

Open e-kayrakli opened this issue 1 year ago • 2 comments

GPUs have several characteristics that can be queried by the application. But there a lot of them, and most of them should be irrelevant to the user. Which ones are important and should be exposed to the user?

The following can help with the application logic:

  • multiProcessorCount
  • maxThreadsPerBlock
  • warpSize (but I think we can do this without asking the device, see https://github.com/chapel-lang/chapel/issues/23599)

Maybe the following can help with diagnostics:

  • memoryBusWidth/memoryClockRate

e-kayrakli avatar Oct 12 '23 16:10 e-kayrakli