Added hipMemsetD8

Change-Id: I6a230a036c9c46c72a77d5f93c16ce8a00c3f837
이 커밋은 다음에 포함됨:
Rahul Garg
2017-03-14 22:11:34 +05:30
부모 9f5a11a3fb
커밋 1aba3c4375
3개의 변경된 파일과 130개의 추가작업 그리고 8개의 파일을 삭제
+13 -8
파일 보기
@@ -1208,19 +1208,24 @@ hipError_t hipMemcpyAsync(void* dst, const void* src, size_t sizeBytes, hipMemcp
#endif
/**
* @brief Copy data from src to dst asynchronously.
* @brief Fills the first sizeBytes bytes of the memory area pointed to by dest with the constant byte value value.
*
* It supports memory from host to device,
* device to host, device to device and host to host.
*
* @param[out] dst Data being copy to
* @param[in] src Data being copy from
* @param[out] dst Data being filled
* @param[in] constant value to be set
* @param[in] sizeBytes Data size in bytes
* @param[in] accelerator_view Accelerator view which the copy is being enqueued
* @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree
* @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized
*/
hipError_t hipMemset(void* dst, int value, size_t sizeBytes );
/**
* @brief Fills the first sizeBytes bytes of the memory area pointed to by dest with the constant byte value value.
*
* @param[out] dst Data ptr to be filled
* @param[in] constant value to be set
* @param[in] sizeBytes Data size in bytes
* @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized
*/
hipError_t hipMemsetD8(hipDeviceptr_t dest, unsigned char value, size_t sizeBytes );
/**
* @brief Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value value.