SWDEV-439637 - Updated to compile with clang compiler
Change-Id: Ib0a8e1cc007f083fb1d1f4363cf89ba76ad3c4f2
[ROCm/clr commit: a1b2cbe44e]
This commit is contained in:
1 parent
d94f68091f
commit
daf22604af
6 files changed
+106
-96
No files matched your search
@@ -131,10 +131,12 @@ hipError_t hipCreateTextureObject(hipTextureObject_t* pTexObject, const hipResou
|
||||
return hip::GetHipDispatchTable()->hipCreateTextureObject_fn(pTexObject, pResDesc, pTexDesc,
|
||||
pResViewDesc);
|
||||
}
|
||||
hipError_t hipCtxCreate(hipCtx_t* ctx, unsigned int flags, hipDevice_t device) {
|
||||
extern "C" hipError_t hipCtxCreate(hipCtx_t* ctx, unsigned int flags, hipDevice_t device) {
|
||||
return hip::GetHipDispatchTable()->hipCtxCreate_fn(ctx, flags, device);
|
||||
}
|
||||
hipError_t hipCtxDestroy(hipCtx_t ctx) { return hip::GetHipDispatchTable()->hipCtxDestroy_fn(ctx); }
|
||||
extern "C" hipError_t hipCtxDestroy(hipCtx_t ctx) {
|
||||
return hip::GetHipDispatchTable()->hipCtxDestroy_fn(ctx);
|
||||
}
|
||||
hipError_t hipCtxDisablePeerAccess(hipCtx_t peerCtx) {
|
||||
return hip::GetHipDispatchTable()->hipCtxDisablePeerAccess_fn(peerCtx);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user