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:
Jaydeep Patel
2023-10-17 17:13:54 +00:00
odevzdal Jaydeepkumar Patel
rodič f5c6fc4dfa
revize 8e8fb993de
3 změnil soubory, kde provedl 23 přidání a 5 odebrání
+1
Zobrazit soubor
@@ -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);