SWDEV-333187 - Support IPC in HIP runtime on Windows
enable shared memory based IPC
Change-Id: I2657ef4713240b6f82a34f416d53f222630263ca
[ROCm/clr commit: 59b1ae0a79]
这个提交包含在:
1 父节点
0ddbd07e0c
当前提交
558467643d
2 个文件已更改
+16
-21
没有与搜索条件相匹配的文件
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc.
|
||||
/* Copyright (c) 2015 - 2022 Advanced Micro Devices, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -251,13 +251,9 @@ hipError_t Event::addMarker(hipStream_t stream, amd::Command* command, bool reco
|
||||
} // namespace hip
|
||||
// ================================================================================================
|
||||
hipError_t ihipEventCreateWithFlags(hipEvent_t* event, unsigned flags) {
|
||||
#if !defined(_MSC_VER)
|
||||
unsigned supportedFlags = hipEventDefault | hipEventBlockingSync | hipEventDisableTiming |
|
||||
hipEventReleaseToDevice | hipEventReleaseToSystem | hipEventInterprocess;
|
||||
#else
|
||||
unsigned supportedFlags = hipEventDefault | hipEventBlockingSync | hipEventDisableTiming |
|
||||
hipEventReleaseToDevice | hipEventReleaseToSystem;
|
||||
#endif
|
||||
|
||||
const unsigned releaseFlags = (hipEventReleaseToDevice | hipEventReleaseToSystem);
|
||||
// can't set any unsupported flags.
|
||||
// can't set both release flags
|
||||
|
||||
在新工单中引用
屏蔽一个用户