Implement hip_ldg Functions into HIP header

Move all the function definitions for hip_ldg.cpp into hip_ldg.h header and enable for HIP clang path.


[ROCm/hip commit: 76f86ef097]
Bu işleme şunda yer alıyor:
Aaron Enye Shi
2018-07-05 20:38:46 +00:00
ebeveyn 8e1a7fdd09
işleme 17453a6278
4 değiştirilmiş dosya ile 62 ekleme ve 119 silme
+1 -1
Dosyayı Görüntüle
@@ -35,7 +35,7 @@ THE SOFTWARE.
#include "hip/hip_vector_types.h"
#include "test_common.h"
#if (__hcc_workweek__ >= 16164) || defined(__HIP_PLATFORM_NVCC__)
#if (__hcc_workweek__ >= 16164) || defined(__HIP_PLATFORM_NVCC__) || defined(__HIP_CLANG_ONLY__)
#define HIP_ASSERT(x) (assert((x) == hipSuccess))