Added amdgpu hw project

This commit is contained in:
DH 2023-06-24 15:59:27 +03:00
parent 1fdadaaee9
commit a8af9198bf
49 changed files with 28342 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#pragma once
#include <cstdint>
namespace amdgpu {
struct RemoteMemory {
char *shmPointer;
template <typename T = void> T *getPointer(std::uint64_t address) const {
return address ? reinterpret_cast<T *>(shmPointer + address) : nullptr;
}
};
} // namespace amdgpu