提交 bd4c8cb1 编写于 作者: O Oded Gabbay

habanalabs: increase max jobs number to 512

In training, there is a need for a large amount of patching to the recipe.
This results in many command buffers contains a lot of DMA packets. The
number of command buffers per CS is larger than the current maximum of 64,
which is an arbitrary number that is enough for inference, but it has no
real affect on the code and/or resources of the host machine.
Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: NOmer Shpigelman <oshpigelman@habana.ai>
上级 6476b472
......@@ -40,7 +40,7 @@
#define HL_MAX_QUEUES 128
#define HL_MAX_JOBS_PER_CS 64
#define HL_MAX_JOBS_PER_CS 512
/* MUST BE POWER OF 2 and larger than 1 */
#define HL_MAX_PENDING_CS 64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册