diff options
author | Tomer Tayar <ttayar@habana.ai> | 2020-01-05 15:11:22 +0000 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-03-24 10:54:16 +0200 |
commit | 1718a45b284d274ebb57ee3998bd535fb9d6c03b (patch) | |
tree | 2ceac1c7baec10f8ca5425e39c7064f882227375 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f3a838c0c72ca09dd153ff29096410ea220660f6 (diff) |
habanalabs: Avoid running restore chunks if no execute chunks
CS with no chunks for execute phase is invalid, so its
context_switch/restore phase should not be run.
Hence, move the check of the execute chunks number to the beginning of
hl_cs_ioctl().
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions