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
[ROCm/clr commit: 8e8fb993de]
This commit is contained in:
1 orang tua
19ea94729c
melakukan
86902b4d96
3 files changed
+23
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user