-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hmem/rocr: fix issue introduced by 43e92bf
43e92bf introduce a build breakage for earlier versions of rocm. The DMA buf defines were added to handle compatibility, but were not added around the callback functions. This led to compile error with older version of the rocm API: src/hmem_rocr.c:182:36: error: ‘hsa_amd_portable_export_dmabuf’ undeclared here (not in a function) .hsa_amd_portable_export_dmabuf = hsa_amd_portable_export_dmabuf, Also made a few changes to clean up warnings and code style. Signed-off-by: Amir Shehata <shehataa@ornl.gov>
- Loading branch information
1 parent
2654f73
commit 78771fb
Showing
1 changed file
with
18 additions
and
11 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