mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Improve CUDNN error messages
PiperOrigin-RevId: 826124080
This commit is contained in:
parent
9eeebc9be5
commit
a94890b1f9
|
|
@ -5421,6 +5421,11 @@ absl::Status CreateOpRunners(
|
|||
.setEngineConfig(filtered_configs[i], op_graph->getTag())
|
||||
.build();
|
||||
if (plan.get_status() != CUDNN_STATUS_SUCCESS) {
|
||||
std::string message(65535, '\0');
|
||||
cudnnGetLastErrorString(message.data(), message.size());
|
||||
VLOG(4) << "Failed building ExecutionPlan: found error: "
|
||||
<< cudnnGetErrorString(plan.get_status())
|
||||
<< " with message: " << message;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user