| 53 | size_t getMemStepSize(void); |
| 54 | |
| 55 | class Allocator final : public common::AllocatorInterface { |
| 56 | public: |
| 57 | Allocator(); |
| 58 | ~Allocator() = default; |
| 59 | void shutdown() override; |
| 60 | int getActiveDeviceId() override; |
| 61 | size_t getMaxMemorySize(int id) override; |
| 62 | void *nativeAlloc(const size_t bytes) override; |
| 63 | void nativeFree(void *ptr) override; |
| 64 | }; |
| 65 | |
| 66 | } // namespace cpu |
| 67 | } // namespace arrayfire |
nothing calls this directly
no outgoing calls
no test coverage detected