Skip to content

Commit

Permalink
[UR] Don't unload UR twice (#11527)
Browse files Browse the repository at this point in the history
`releaseAdapters` will already call `urTearDown` so we remove this
redundant call which was causing segfaults in some cases.
  • Loading branch information
veselypeta authored Oct 16, 2023
1 parent c75a169 commit 8c481bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sycl/plugins/unified_runtime/pi_unified_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,6 @@ __SYCL_EXPORT pi_result piextPeerAccessGetInfo(

__SYCL_EXPORT pi_result piTearDown(void *) {
releaseAdapters(Adapters.Vec);
urTearDown(nullptr);
return PI_SUCCESS;
}

Expand Down

0 comments on commit 8c481bd

Please sign in to comment.