Skip to content

Add a host map option for a UVM tensor alloc#3073

Closed
sryap wants to merge 1 commit into
pytorch:mainfrom
sryap:export-D61401239
Closed

Add a host map option for a UVM tensor alloc#3073
sryap wants to merge 1 commit into
pytorch:mainfrom
sryap:export-D61401239

Conversation

@sryap

@sryap sryap commented Sep 4, 2024

Copy link
Copy Markdown
Contributor

Summary:
FBGEMM-GPU provides two options to allocate a UVM buffer: (1) malloc
& cudaHostRegister and (2) cudaMallocManaged. Each one of them
has a different performance implication (this is platform specific).
This diff adds an option for a user to choose a UVM buffer allocation
method in TBE.

Differential Revision: D61401239

@netlify

netlify Bot commented Sep 4, 2024

Copy link
Copy Markdown

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 9ec00e2
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66d94e3be0016b00082e555c
😎 Deploy Preview https://deploy-preview-3073--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D61401239

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D61401239

sryap added a commit to sryap/FBGEMM that referenced this pull request Sep 5, 2024
Summary:
X-link: facebookresearch/FBGEMM#167

Pull Request resolved: pytorch#3073

FBGEMM-GPU provides two options to allocate a UVM buffer: (1) `malloc`
& `cudaHostRegister` and (2) `cudaMallocManaged`.  Each one of them
has a different performance implication (this is platform specific).
This diff adds an option for a user to choose a UVM buffer allocation
method in TBE.

Reviewed By: q10, spcyppt

Differential Revision: D61401239
Summary:
X-link: facebookresearch/FBGEMM#167

Pull Request resolved: pytorch#3073

FBGEMM-GPU provides two options to allocate a UVM buffer: (1) `malloc`
& `cudaHostRegister` and (2) `cudaMallocManaged`.  Each one of them
has a different performance implication (this is platform specific).
This diff adds an option for a user to choose a UVM buffer allocation
method in TBE.

Reviewed By: q10, spcyppt

Differential Revision: D61401239
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D61401239

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in d3aae06.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants