mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
[DML EP] Add intermediate tensor dumping for DML (#22246)
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
parent
6e3163faa5
commit
14ba2fb83c
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ void DumpTensor(
|
|||
} else {
|
||||
std::cout << tensor_location << "\n";
|
||||
|
||||
#if defined(USE_CUDA) || defined(USE_ROCM)
|
||||
#if defined(USE_CUDA) || defined(USE_ROCM) || defined(USE_DML)
|
||||
const auto data_type = tensor.DataType();
|
||||
// Dumping GPU only when cuda is enabled.
|
||||
if (tensor_location.device.Type() == OrtDevice::GPU) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue