-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Libomptarget] Configure the RPC port count from the plugin
This patch allows us to configure the port count to what the specific card would desire for parallelism. For AMDGPU we need to use the maximum number of hardware parallelism to avoid deadlocks. For NVPTX we don't have this problem due to the friendlier scheduler, so we use the number of warps active on an SM times the number of SMs as a good guess. Note that the max ports currently is going to be smaller than these numbers. That will be improved in the future. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D155903
- Loading branch information
Showing
4 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters