diff --git a/rocclr/platform/command.hpp b/rocclr/platform/command.hpp index 780a8309ce..abb7f3b96a 100644 --- a/rocclr/platform/command.hpp +++ b/rocclr/platform/command.hpp @@ -1521,7 +1521,7 @@ class SvmPrefetchAsyncCommand : public Command { SvmPrefetchAsyncCommand(HostQueue& queue, const EventWaitList& eventWaitList, const void* dev_ptr, size_t count, amd::Device* dev, bool cpu_access) : Command(queue, 1, eventWaitList), dev_ptr_(dev_ptr), count_(count), - dev_(dev), cpu_access_(cpu_access) {} + cpu_access_(cpu_access), dev_(dev) {} virtual void submit(device::VirtualDevice& device) { device.submitSvmPrefetchAsync(*this); }