Merge pull request #714 from aaronenyeshi/remove-static-hip-device

Remove libhip_device.a static library

[ROCm/hip commit: 0b86b421c1]
This commit is contained in:
Maneesh Gupta
2018-10-31 14:08:29 +05:30
committed by GitHub
8 changed files with 23 additions and 71 deletions
@@ -876,6 +876,15 @@ static void __threadfence_system()
__atomic_work_item_fence(0, __memory_order_seq_cst, __memory_scope_all_svm_devices);
}
// abort
__device__
inline
__attribute__((weak))
void abort() {
return __builtin_trap();
}
#endif // __HCC_OR_HIP_CLANG__
#ifdef __HCC__
@@ -181,8 +181,7 @@ extern int HIP_TRACE_API;
#define __HCC_C__
#endif
// abort
__device__ void abort();
__host__ inline void* __get_dynamicgroupbaseptr() { return nullptr; }
#if __HIP_ARCH_GFX701__ == 0