-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Closed
Copy link
Labels
ep:CUDAissues related to the CUDA execution providerissues related to the CUDA execution providerstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot
Description
Ask a Question
I tried the following implementation, but had no effect.
CUDA implementation:
struct CustomOPGpu : Ort::CustomOpBase<CustomOPGpu , CustomKernel> {
const char* GetName() const { return "CustomOP"; };
const char* GetExecutionProviderType() const { return "CUDAExecutionProvider"; };
...
}
CPU implementation:
struct CustomOPCpu : Ort::CustomOpBase<CustomOPCpu , CustomKernel> {
const char* GetName() const { return "CustomOP"; };
const char* GetExecutionProviderType() const { return "CPUExecutionProvider"; };
...
}
The doc (https://onnxruntime.ai/docs/reference/operators/add-custom-op.html) doesn't have any sample codes.
Question
Further information
-
Relevant Area:
-
Is this issue related to a specific model?
Model name:
Model opset:
Notes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ep:CUDAissues related to the CUDA execution providerissues related to the CUDA execution providerstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot