-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perftest: Fix raw_ethernet_bw with GPUDirect
When using raw_ethernet_bw with use_cuda flag, perftest code try to access buffer that allocated on the GPU buffer. this happen when it try to generate an ethernet header and when printing the info of the header. This commit fix these issues by copy the buffer contnet to memory that allocate on the CPU. Signed-off-by: Shmuel Shaul <sshaul@nvidia.com>
- Loading branch information
1 parent
218727a
commit 104ef7b
Showing
3 changed files
with
130 additions
and
61 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