Unverified Commit 3f33b254 by Krzysztof Parzyszek Committed by GitHub

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

Co-authored-by: Abhikrant Sharma <quic_abhikran@quicinc.com>
parent 12e737f5
...@@ -34,8 +34,8 @@ interface tvm_remote : remote_handle64 { ...@@ -34,8 +34,8 @@ interface tvm_remote : remote_handle64 {
rout handle_t sym_ptr); rout handle_t sym_ptr);
long kernel(in handle_t mod, long kernel(in handle_t mod,
in handle_t symbol, in handle_t symbol,
inrout sequence <long> scalar, in sequence <long> scalar,
inrout sequence <long> stack, in sequence <long> stack,
in sequence<buffer> scalar_in_octet, in sequence<buffer> scalar_in_octet,
rout sequence<buffer> scalar_out_octet, rout sequence<buffer> scalar_out_octet,
in sequence<buffer> stack_in_octet, in sequence<buffer> stack_in_octet,
......
...@@ -36,8 +36,8 @@ interface tvm_remote_nd { ...@@ -36,8 +36,8 @@ interface tvm_remote_nd {
rout handle_t sym_ptr); rout handle_t sym_ptr);
long kernel(in handle_t mod, long kernel(in handle_t mod,
in handle_t symbol, in handle_t symbol,
inrout sequence <long> scalar, in sequence <long> scalar,
inrout sequence <long> stack, in sequence <long> stack,
in sequence<buffer> scalar_in_octet, in sequence<buffer> scalar_in_octet,
rout sequence<buffer> scalar_out_octet, rout sequence<buffer> scalar_out_octet,
in sequence<buffer> stack_in_octet, in sequence<buffer> stack_in_octet,
......
...@@ -165,8 +165,8 @@ int tvm_remote_get_symbol(remote_handle64 handle, tvm_remote_handle_t lib, ...@@ -165,8 +165,8 @@ int tvm_remote_get_symbol(remote_handle64 handle, tvm_remote_handle_t lib,
*/ */
int tvm_remote_kernel( int tvm_remote_kernel(
remote_handle64 handle, tvm_remote_handle_t lib, remote_handle64 handle, tvm_remote_handle_t lib,
tvm_remote_handle_t symbol, int* scalar, int scalar_len, int* stack, tvm_remote_handle_t symbol, const int* scalar, int scalar_len,
int stack_len, const tvm_remote_buffer* scalar_in_octet, 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_in_octet_len, tvm_remote_buffer* scalar_out_octet,
int scalar_out_octet_len, const tvm_remote_buffer* stack_in_octet, int scalar_out_octet_len, const tvm_remote_buffer* stack_in_octet,
int stack_in_octet_len, tvm_remote_buffer* stack_out_octet, int stack_in_octet_len, tvm_remote_buffer* stack_out_octet,
......
...@@ -262,8 +262,8 @@ static void print_msg_call(const msg_call& mc) { ...@@ -262,8 +262,8 @@ static void print_msg_call(const msg_call& mc) {
* only. They are not used for procesing. * only. They are not used for procesing.
*/ */
int tvm_remote_nd_kernel( int tvm_remote_nd_kernel(
tvm_remote_nd_handle_t lib, tvm_remote_nd_handle_t symbol, int* scalar, tvm_remote_nd_handle_t lib, tvm_remote_nd_handle_t symbol,
int scalar_len, int* stack, int stack_len, 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, 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, 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, const tvm_remote_nd_buffer* stack_in_octet, int stack_in_octet_len,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment