You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a little check on how params are defined, I'm not sure if it is possible to do arithmetic operations on params, it would be nice if I could do this:
I think there are some use cases to this, for example in my gups test I need to break down some part of memory to smaller chunks, it will be nice if I could do it without converting _mem_size to int and converting _cache_size back to str.
The text was updated successfully, but these errors were encountered:
configs,dev-amdgpu: Add PCI express capability info
The ROCm stack requires PCI express atomics. Currently the first PCI
CapabilityPtr does not point to anything, which signals to the OS
(Linux) that this is an early generation PCI device. As PCI express
atomics were introduced later, the CapabilityPtr needs to point to at
least a PCI express capability structure. This capability is defined as
0x10 in Linux. We additionally set the PCI atomic based bits and
implement device specific PCI configuration space reads and writes to
the amdgpu device.
The second commit, output of simulation when loading the amdgpu
driver no longer outputs "PCIE atomics not supported". Further, an
application which uses PCIe atomics (PyTorch with a reduce_sum kernel)
now makes further progress.
First commit is a minor typo fix changing PCI capability struct to
union.
I did a little check on how params are defined, I'm not sure if it is possible to do arithmetic operations on params, it would be nice if I could do this:
self._mem_size = '2GB'
self._cache_size = self._mem_size / 256
I think there are some use cases to this, for example in my gups test I need to break down some part of memory to smaller chunks, it will be nice if I could do it without converting _mem_size to int and converting _cache_size back to str.
The text was updated successfully, but these errors were encountered: