Added explicit memory copy direction apis

- Fixed stale printf in context api
- Added 4 sync memcpy apis
  1. hipMemcpyHtoD
  2. hipMemcpyDtoH
  3. hipMemcpyDtoD
  4. hipMemcpyHtoH
- Added test for added apis

Change-Id: I4a9c382445b62631f8d0bcbb9a670322288b72b1


[ROCm/hip commit: 4152746e26]
Bu işleme şunda yer alıyor:
Aditya Atluri
2016-08-26 13:11:01 -05:00
ebeveyn f4d3a5648c
işleme 2efa60a37e
6 değiştirilmiş dosya ile 125 ekleme ve 9 silme
-1
Dosyayı Görüntüle
@@ -32,7 +32,6 @@ thread_local std::stack<ihipCtx_t *> tls_ctxStack;
hipError_t ihipCtxStackUpdate()
{
//HIP_INIT_API();
printf("Inside ihipCtxStackUpdate\n");
hipError_t e = hipSuccess;
if(tls_ctxStack.empty()) {