This struct was used to specify the device on which memory was
being allocated/free in atmi_malloc/free. It has now been replaced
with int DeviceId.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nice, like that a lot. I hadn't noticed that we are passing device id == 0 around to mean a CPU device, that seems a path to considerable confusion. Probably better to split the allocators into gpu (which takes a device id) and cpu (which doesn't) in some later patch.