RE: [PATCH] habanalabs: cap simulator timeout

2019-07-18 Thread Omer Shpigelman
From: Oded Gabbay Sent: Thursday, 18 July 2019 11:48 > In the driver timeout functions, we give the simulator a factor of 10 in the > timeout. This was necessary when the requested timeout is small but if it > was a few seconds, this can result in a very large timeout which is > unnecessary. >

[PATCH] habanalabs: cap simulator timeout

2019-07-18 Thread Oded Gabbay
In the driver timeout functions, we give the simulator a factor of 10 in the timeout. This was necessary when the requested timeout is small but if it was a few seconds, this can result in a very large timeout which is unnecessary. This patch caps the maximum timeout of the simulator to 10