Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The data passthrough path from pm to GPU #1

Open
pyhundan opened this issue May 16, 2022 · 3 comments
Open

The data passthrough path from pm to GPU #1

pyhundan opened this issue May 16, 2022 · 3 comments

Comments

@pyhundan
Copy link

pyhundan commented May 16, 2022

Hi,
I read your article GPM: I have also looked at some of your source code, but there are some things I still don't understand. I want to use an example code to let me know the workflow of GPM, but I can't find the corresponding code in this repository.
Can you upload a sample code on how to call the interface of the GPM library?

Thanks, hundan

@AKKamath
Copy link
Contributor

Hi Hundan,
Thanks for the feedback.
The source files in the GPMBench folder call the library interface, for example DNN (https://github.com/csl-iisc/GPM-ASPLOS22/blob/master/GPMBench/checkpointing/DNN/src/lenet.cu). If you search for GPM on that page, you will see the library calls.

Within a few days, I'll also add a few small example programs demonstrating the different function calls of the library. Hopefully that'll make things a bit more clear.

Let me know if anything else is needed.

@pyhundan
Copy link
Author

pyhundan commented May 19, 2022

Hi, @AKKamath
Thanks for your reply.
I am very interested in the process of transferring data from PM to GPU, and I hope you can provide some simple examples to demonstrate how to use GPM lib API to transfer data from PM file to GPU and persist data from GPU to PM, like a simple file not a network dataset.

I have read the example DNN. I have a question. According to the paper, data on the GPU can be written directly to the PM. The interface called is gpmcp_restore () ? such as line 1020, at other times I don't see data written to a file, except for the last save file. But that's where the comments describe writing to the CPU.

Thanks a lot.

@pyhundan
Copy link
Author

pyhundan commented Jun 14, 2022

Hi, @AKKamath
I read about a microbenchmark in Figure 3 in my paper. Can I get the code for this microbenchmark?

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants