Update docs:

- Some comments in hip_hcc.cpp
 - document hipHostRegister* flags.
 - expand docs on hipHostRegister/Unregister. Use "register" rather than
   "pin" to describe action these take.
 - change required CUDA version to 6 (require unified memory)
 - remake doxygen.
This commit is contained in:
Ben Sander
2016-03-23 23:11:15 -05:00
orang tua 362867d325
melakukan eced013ae4
107 mengubah file dengan 2766 tambahan dan 1646 penghapusan
+3 -2
Melihat File
@@ -128,7 +128,8 @@ int HIP_DISABLE_HW_COPY_DEP = 1;
#define COMPILE_HIP_TRACE_API 0x3
// Compile code that generate
// Compile code that generates trace markers for CodeXL ATP at HIP function begin/end.
// ATP is standard CodeXL format that includes timestamps for kernels, HSA RT APIs, and HIP APIs.
#ifndef COMPILE_TRACE_MARKER
#define COMPILE_TRACE_MARKER 0
#endif
@@ -168,7 +169,7 @@ int HIP_DISABLE_HW_COPY_DEP = 1;
// This macro should be called at the beginning of every HIP API.
// It initialies the hip runtime (exactly once), and
// generate trace to stderr or to ATP file.
// generate trace string that can be output to stderr or to ATP file.
#define HIP_INIT_API(...) \
std::call_once(hip_initialized, ihipInit);\
API_TRACE(__VA_ARGS__);