Implemented kDLCPUPinned (cudaMallocHost) (#4985)
authorjmorrill <jeremiah.morrill@gmail.com>
Tue, 10 Mar 2020 02:39:41 +0000 (19:39 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2020 02:39:41 +0000 (19:39 -0700)
commitfd39c5c09ca3d2de0822d1dffcbae2374a023ae5
treeabd6e0d8904ad2e986d68c3dbcc0323d9747e82d
parent41e1d5f911493c62cf3ae39fe1420ed0ae17d62c
Implemented kDLCPUPinned (cudaMallocHost) (#4985)

* implement kDLCPUPinned

* Fix line endings

* Fix whitespace for linter

* cleanup up allocdataspace method
include/tvm/runtime/device_api.h
src/runtime/cuda/cuda_device_api.cc
src/runtime/ndarray.cc