Skip to content

Commit

Permalink
samples: Fix openvino and pytorch samples (#833)
Browse files Browse the repository at this point in the history
The samples weren't working because the number of ethreads was 1.
Increasing it fixes the samples.
  • Loading branch information
AntonioND authored Sep 24, 2020
1 parent f8f09a3 commit 01ea8c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/ml/openvino/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ else
SGXLKL_ENV=
endif

SGXLKL_ENV += SGXLKL_ETHREADS=4

SGXLKL_DISK_TOOL=${SGXLKL_ROOT}/tools/sgx-lkl-disk
SGXLKL_GDB=${SGXLKL_ROOT}/tools/gdb/sgx-lkl-gdb

Expand Down
2 changes: 2 additions & 0 deletions samples/ml/pytorch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ else
SGXLKL_ENV=
endif

SGXLKL_ENV += SGXLKL_ETHREADS=4

APP=/usr/bin/python3
APP_PARAMS=/app/sample.py

Expand Down

0 comments on commit 01ea8c7

Please sign in to comment.