Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hexagon] Change "scalar" and "stack" in IDL from "inrout" to "in" #5487

Merged
merged 1 commit into from
May 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/runtime/hexagon/target/fastrpc/include/tvm_remote.idl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ interface tvm_remote : remote_handle64 {
rout handle_t sym_ptr);
long kernel(in handle_t mod,
in handle_t symbol,
inrout sequence <long> scalar,
inrout sequence <long> stack,
in sequence <long> scalar,
in sequence <long> stack,
in sequence<buffer> scalar_in_octet,
rout sequence<buffer> scalar_out_octet,
in sequence<buffer> stack_in_octet,
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/hexagon/target/fastrpc/include/tvm_remote_nd.idl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ interface tvm_remote_nd {
rout handle_t sym_ptr);
long kernel(in handle_t mod,
in handle_t symbol,
inrout sequence <long> scalar,
inrout sequence <long> stack,
in sequence <long> scalar,
in sequence <long> stack,
in sequence<buffer> scalar_in_octet,
rout sequence<buffer> scalar_out_octet,
in sequence<buffer> stack_in_octet,
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/hexagon/target/fastrpc/src/tvm_remote_imp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ int tvm_remote_get_symbol(remote_handle64 handle, tvm_remote_handle_t lib,
*/
int tvm_remote_kernel(
remote_handle64 handle, tvm_remote_handle_t lib,
tvm_remote_handle_t symbol, int* scalar, int scalar_len, int* stack,
int stack_len, const tvm_remote_buffer* scalar_in_octet,
tvm_remote_handle_t symbol, const int* scalar, int scalar_len,
const int* stack, int stack_len, const tvm_remote_buffer* scalar_in_octet,
int scalar_in_octet_len, tvm_remote_buffer* scalar_out_octet,
int scalar_out_octet_len, const tvm_remote_buffer* stack_in_octet,
int stack_in_octet_len, tvm_remote_buffer* stack_out_octet,
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/hexagon/target/fastrpc/src/tvm_remote_nd_imp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ static void print_msg_call(const msg_call& mc) {
* only. They are not used for procesing.
*/
int tvm_remote_nd_kernel(
tvm_remote_nd_handle_t lib, tvm_remote_nd_handle_t symbol, int* scalar,
int scalar_len, int* stack, int stack_len,
tvm_remote_nd_handle_t lib, tvm_remote_nd_handle_t symbol,
const int* scalar, int scalar_len, const int* stack, int stack_len,
const tvm_remote_nd_buffer* scalar_in_octet, int scalar_in_octet_len,
tvm_remote_nd_buffer* scalar_out_octet, int scalar_out_octet_len,
const tvm_remote_nd_buffer* stack_in_octet, int stack_in_octet_len,
Expand Down