We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Official documentation on implementing custom ops links to the repo code below.
onnxruntime/onnxruntime/test/testdata/custom_op_library/cuda/cuda_ops.cc
Lines 27 to 40 in 5f0b62c
On line 35, we see a call to cuda_ctx.AllocDeferredCpuMem. This memory is then immediately freed. This raises some questions.
(malloc, free)
deferred
https://github.com/microsoft/onnxruntime/blob/rel-1.17.0/onnxruntime/test/testdata/custom_op_library/cuda/cuda_ops.cc#L35
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the documentation issue
Official documentation on implementing custom ops links to the repo code below.
onnxruntime/onnxruntime/test/testdata/custom_op_library/cuda/cuda_ops.cc
Lines 27 to 40 in 5f0b62c
On line 35, we see a call to cuda_ctx.AllocDeferredCpuMem. This memory is then immediately freed. This raises some questions.
(malloc, free)
?deferred
? Do we have to wait for some condition before the memory becomes usable?Page / URL
https://github.com/microsoft/onnxruntime/blob/rel-1.17.0/onnxruntime/test/testdata/custom_op_library/cuda/cuda_ops.cc#L35
The text was updated successfully, but these errors were encountered: