Skip to content

Commit

Permalink
[DML EP] Add intermediate tensor dumping for DML (#22246)
Browse files Browse the repository at this point in the history
### 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. -->
  • Loading branch information
PatriceVignola authored Sep 27, 2024
1 parent 6e3163f commit 14ba2fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 14ba2fb

Please sign in to comment.