mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Align context virtuals (#18396)
Deprecate ROCM context virtual function, to align with CUDA. Co-authored-by: Randy Shuai <rashuai@microsoft.com>
This commit is contained in:
parent
d87d480857
commit
646f77a94b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ struct RocmContext : public CustomOpContext {
|
|||
miopenHandle_t miopen_handle = {};
|
||||
rocblas_handle rblas_handle = {};
|
||||
|
||||
void Init(const OrtKernelContext& kernel_ctx) override {
|
||||
void Init(const OrtKernelContext& kernel_ctx) {
|
||||
const auto& ort_api = Ort::GetApi();
|
||||
void* resource = {};
|
||||
OrtStatus* status = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue