Home
last modified time | relevance | path

Searched refs:MallocFuncType (Results 1 – 3 of 3) sorted by relevance

/external/pytorch/torch/csrc/cuda/
DCUDAPluggableAllocator.h14 using MallocFuncType = void*(size_t, int, cudaStream_t); variable
52 std::function<MallocFuncType> alloc_fn,
72 std::function<MallocFuncType> alloc_fn,
165 std::function<MallocFuncType> alloc_fn_;
DCUDAPluggableAllocator.cpp46 std::function<MallocFuncType> alloc_fn, in CUDAPluggableAllocator()
378 std::function<MallocFuncType> alloc_fn, in createCustomAllocator()
DModule.cpp1201 std::function<MallocFuncType> malloc_fn = in registerCudaPluggableAllocator()
1203 reinterpret_cast<MallocFuncType*>(malloc_ptr); in registerCudaPluggableAllocator()