AMDGPU.jl
AMDGPU.jl copied to clipboard
`getinfo` should determine the `Ref` output container automatically
As indicated by @torrance, the getinfo API is cumbersome by requiring passing in a Ref output container of the correct type. While this is probably OK for low-level HSA objects, for higher-level objects like ROCDevice or ROCExecutable, we'd rather getinfo figure this out for us, and just return the result itself.