SWDEV-425248 - numerous bug fixes.
Set flag with hipCtxCreate so that get flags works. Validate hipHostGetDevicePointer for flags!=0. Validate mem cpy kind and accommodate new type hipMemcpyDeviceToDeviceNoCU. Match error code for hipGetChannelDesc. Change-Id: If09a635ac01bc53f1fe2b7df3f3f9c1b0d69a0ab
Tento commit je obsažen v:
odevzdal
Jaydeepkumar Patel
rodič
f5c6fc4dfa
revize
8e8fb993de
@@ -159,6 +159,7 @@ hipError_t hipCtxCreate(hipCtx_t *ctx, unsigned int flags, hipDevice_t device)
|
||||
|
||||
// Increment ref count for device primary context
|
||||
g_devices[device]->retain();
|
||||
g_devices[device]->setFlags(flags);
|
||||
tls.ctxt_stack_.push(g_devices[device]);
|
||||
|
||||
HIP_RETURN(hipSuccess);
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele