SWDEV-292523 - [vdi]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value
Change-Id: I74b24b2dec911acd5e7a364ea8c050c2ecb1c3b8
Этот коммит содержится в:
коммит произвёл
Maneesh Gupta
родитель
f608292e27
Коммит
8c5c2befeb
@@ -646,7 +646,7 @@ class FillMemoryCommand : public OneMemoryArgCommand {
|
||||
|
||||
class StreamOperationCommand : public OneMemoryArgCommand {
|
||||
private:
|
||||
int64_t value_; // !< Value to Wait on or to Write.
|
||||
uint64_t value_; // !< Value to Wait on or to Write.
|
||||
uint64_t mask_; // !< Mask to be applied on signal value for Wait operation.
|
||||
unsigned int flags_; // !< Flags defining the Wait condition.
|
||||
size_t offset_; // !< Offset into memory for Write
|
||||
@@ -657,7 +657,7 @@ class StreamOperationCommand : public OneMemoryArgCommand {
|
||||
|
||||
public:
|
||||
StreamOperationCommand(HostQueue& queue, cl_command_type cmdType,
|
||||
const EventWaitList& eventWaitList, Memory& memory, const int64_t value,
|
||||
const EventWaitList& eventWaitList, Memory& memory, const uint64_t value,
|
||||
const uint64_t mask, unsigned int flags, size_t offset, size_t sizeBytes)
|
||||
: OneMemoryArgCommand(queue, cmdType, eventWaitList, memory),
|
||||
value_(value),
|
||||
@@ -675,7 +675,7 @@ class StreamOperationCommand : public OneMemoryArgCommand {
|
||||
virtual void submit(device::VirtualDevice& device) { device.submitStreamOperation(*this); }
|
||||
|
||||
//! Returns the value
|
||||
const int64_t value() const { return value_; }
|
||||
const uint64_t value() const { return value_; }
|
||||
//! Returns the wait mask
|
||||
const uint64_t mask() const { return mask_; }
|
||||
//! Return the wait flags
|
||||
|
||||
Ссылка в новой задаче
Block a user