Add Queue profling param and toggle for HIP
Use signal timestamps if NDRange command takes forceProfile flag. Change-Id: Ib7f187d781fd78a7346818afb3344a9378f4c104
This commit is contained in:
@@ -763,7 +763,7 @@ bool VirtualGPU::create() {
|
||||
gpu_queue_ = roc_device_.acquireQueue(queue_size, cooperative_, cuMask_, priority_);
|
||||
if (!gpu_queue_) return false;
|
||||
|
||||
if (!initPool(dev().settings().kernargPoolSize_, (profiling_) ? queue_size : 0)) {
|
||||
if (!initPool(dev().settings().kernargPoolSize_, (amd::IS_HIP) ? queue_size : 0)) {
|
||||
LogError("Couldn't allocate arguments/signals for the queue");
|
||||
return false;
|
||||
}
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user