This folder contains a test application (fastrpc_test.c) that demonstrates the usage of FastRPC (Fast Remote Procedure Call) to offload computations to different DSP (Digital Signal Processor) domains. The test application supports multiple examples, including a simple calculator service, a HAP example, and a multithreading example.
After building the application, the following files and directories need to be pushed to the device:
- fastrpc_test Binary: The compiled test application.
- android Directory: Contains shared libraries for the Android platform.
- linux Directory: Contains shared libraries for the Linux platform.
- v68 Directory: Contains skeletons for the v68 architecture version.
- v75 Directory: Contains skeletons for the v75 architecture version.
Use make install to install the libraries and the executable to the appropriate directories:
make installTo run the test application, use the following command:
fastrpc_test -d 3 -U 1 -t linux -a v68-
-d domain: Run on a specific domain.0: Run the example on ADSP1: Run the example on MDSP2: Run the example on SDSP3: Run the example on CDSP- Default Value:
3(CDSP) for targets having CDSP.
-
-U unsigned_PD: Run on signed or unsigned PD.0: Run on signed PD.1: Run on unsigned PD.- Default Value:
1
-
-t target: Specify the target platform (android or linux).- Default Value:
linux
- Default Value:
-
-a arch_version: Specify the architecture version (e.g., v68, v75).- Default Value:
v68
- Default Value: