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

Replace memory region API with memory pool API #8

Merged
merged 11 commits into from
Mar 29, 2016

Conversation

facao
Copy link
Contributor

@facao facao commented Mar 29, 2016

No description provided.

facao and others added 11 commits March 23, 2016 13:39
…commented code

No definition of HSA_AMD_MEMORY_POOL_INFO_ALLOC_MAX_SIZE
- add call to allow_access on am_alloc with amHostPinned flag
- remove call to hsa_memory_register and hsa_memory_deregister, those
are noop for AMD
- move initialization to am_host_memory_pool and am_memory_pool on
HSADevice constructor
- remove unnecessary check for system memory accessibility because
system memory is always accessible via call to
hsa_amd_memory_pool_allow_access.
- discover system memory region from host agent instead of gpu agent,
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.

3 participants