Wykres commitów

5 Commity

Autor SHA1 Wiadomość Data
Yaxun Sam Liu 17ac81b69e Define __hip_device_heap in header for hip-clang only 2018-11-12 16:39:41 -05:00
Siu Chi Chan 0ff408a56c Move the global arrays for hip malloc/free
from a header into a source file such that
there's only an unique copy in an executable
and prevent wasting static memory on the host

Change-Id: Id5b62766f77809c8d7b47892cb7149c490dcbdb9
2018-11-01 16:20:35 -04:00
Yaxun Sam Liu cdfd82f1de Disable device code for gcc in hip_memory.h
These device code should only be seen by HCC or hip-clang. They causd build failure
for HIP-VDI runtime and should be disabled for gcc.
2018-09-17 16:50:42 -04:00
Yaxun Sam Liu 03320890de Fix thread index calculation in __hip_malloc 2018-07-27 16:24:51 -04:00
Yaxun Sam Liu 02d0e93601 Support malloc/free for hip-clang 2018-07-27 16:24:51 -04:00