SWDEV-292525 - [vdi] Path to streamOps shaders
Implementation to use a blit kernel to perform a hipStreamWait/write instead of an AQL packet. Change-Id: I462671ed5cec37144dfe97ff66439249196117c1
This commit is contained in:
1 förälder
60295a9da9
incheckning
cbb8d82bdb
6 files changed
+169
-45
No files matched your search
@@ -666,9 +666,10 @@ class StreamOperationCommand : public OneMemoryArgCommand {
|
||||
offset_(offset),
|
||||
sizeBytes_(sizeBytes) {
|
||||
// Sanity check
|
||||
assert((cmdType == ROCCLR_COMMAND_STREAM_WRITE_VALUE ||
|
||||
(cmdType == ROCCLR_COMMAND_STREAM_WAIT_VALUE &&
|
||||
memory_->getMemFlags() & ROCCLR_MEM_HSA_SIGNAL_MEMORY)) &&
|
||||
assert((cmdType == ROCCLR_COMMAND_STREAM_WRITE_VALUE) ||
|
||||
(cmdType == ROCCLR_COMMAND_STREAM_WAIT_VALUE) ||
|
||||
(cmdType == ROCCLR_COMMAND_STREAM_WAIT_VALUE && GPU_STREAMOPS_CP_WAIT &&
|
||||
(memory_->getMemFlags() & ROCCLR_MEM_HSA_SIGNAL_MEMORY)) &&
|
||||
"Invalid Stream Operation");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user