Skip to content

Commit

Permalink
!16725 Make synclaunch stream not fast launch stream.
Browse files Browse the repository at this point in the history
Merge pull request !16725 from jiangpengfei/master
  • Loading branch information
jiangpengfei authored and it-is-a-robot committed Dec 23, 2024
1 parent c09a9c4 commit 52d45a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_npu/csrc/core/npu/NPUStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ static void initDeviceSyncLaunchStream(c10::DeviceIndex device_index)
sync_streami.is_sync_launch = true;

NPU_CHECK_SUPPORTED_OR_ERROR(
acl::AclrtCreateStreamWithConfig(&sync_streami.stream, 0, (ACL_STREAM_FAST_LAUNCH | ACL_STREAM_FAST_SYNC)));
acl::AclrtCreateStreamWithConfig(&sync_streami.stream, 0, ACL_STREAM_FAST_SYNC));
}
}

Expand Down

0 comments on commit 52d45a5

Please sign in to comment.