We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d29a9 commit a9c2646Copy full SHA for a9c2646
csrc/aten/core/GuardImpl.cpp
@@ -41,7 +41,7 @@ void DPCPPGuardImpl::uncheckedSetDevice(Device d) const noexcept {
41
}
42
43
Stream DPCPPGuardImpl::getStream(Device d) const noexcept {
44
- return getCurrentDPCPPStream().unwrap();
+ return getCurrentDPCPPStream(d.index()).unwrap();
45
46
47
Stream DPCPPGuardImpl::exchangeStream(Stream s) const noexcept {
0 commit comments