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

Added feature for locking host memory #19

Closed
wants to merge 1 commit into from
Closed

Added feature for locking host memory #19

wants to merge 1 commit into from

Conversation

aditya4d1
Copy link
Contributor

No description provided.

@whchung
Copy link
Collaborator

whchung commented Apr 11, 2016

could you make it go to a branch first? also it would be good if a unit test in hcc layer be provided.

@aditya4d1
Copy link
Contributor Author

Hi,
Can you provide the directory where the test goes?

@whchung
Copy link
Collaborator

whchung commented Apr 11, 2016

@adityaatluri Please place them under tests/Unit directory. You may want to discuss with @facao on a common directory name as both of you are working on AM-related features.

@@ -155,5 +155,9 @@ void am_memtracker_print();
void am_memtracker_sizeinfo(const hc::accelerator &acc, size_t *deviceMemSize, size_t *hostMemSize, size_t *userMemSize);


am_status_t am_memtracker_host_memory_lock(hc::accelerator &acc, void *ptr, size_t size);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adityaatluri As these two new functions are public APIs and would supposedly be invoked by user applications, could you help provide some comments for them?

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

Successfully merging this pull request may close these issues.

2 participants