-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shared Memory Client API + Image client example (#440)
* Add image shared memory client example * fix shm image client * update cmake * create shard memory object function for IO in request - need to add logic and link to backends * review edits * merge shared memory image client * update python client api * formatting * fix client api * fix documentation for Shared Memory * set use_shm correctly * refactor image client code, fix grpc/http result check * fix client API * Update API for registering / unregistering SHM regions * review edits * additional edits * remove python changes from this PR * Add Shared Memory Register/Unregister functionality C++ * Add register / unregister support to server * Support for fetching active shm regions in TRTIS * review edits * add UnregisterAll and GetSharedMemoryStatus * Add SetSharedMemoryInputData to set shared memory buffer from registered shm region * set SharedMemoryInput for HTTP server * use GetRawCursor for output data * remove GetStatus for Shared Memory * post rebase cleanup * use shared memory context for register /unregister * additional cleanup * add shared memory to headers * fix image client to run only for input (buggy) * find url for HTTP, check for failure during registration * Correctly create shared memory block manager * fix C++ client, include shared memory input counts, fix naming convention for image_client, log errno for shared memory open / mmap failure * fix http regex for shared memory * revert image client to use shared memory for both input and output * review comments * additional review edits
- Loading branch information
Showing
13 changed files
with
598 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.