Building Applications on C0 and C0 Pro Cores
Once you have successfully authenticated yourself and obtained an access token (see Authentication), you can use it to run applications on the Signaloid Cloud Compute Engine via the API. The base URL for the Signaloid Cloud Compute Engine API is api.signaloid.io
.
Types of available applications/tasks
On the Signaloid Cloud Compute Engine you can run:
- Single-file source code applications: Applications with a single source file provided to the Signaloid Cloud Compute Enginse as a string.
- Repository applications: Applications that are hosted in a GitHub repository.
Language support
Currently, the Signaloid Cloud Compute Engine supports running applications written in C, C++, and FORTRAN. In future releases of the Cloud Compute Engine we will add support for other programming languages.
Application Build Flow
Similar to the execution flow of compiled applications, to run an application on the Signaloid Cloud Compute Engine you first need to compile it. Because of their different microarchitectural configurations, for each different Signaloid Core that you want to build your application for, you need to have a different build. Like any other application building process, your build might fail with build warnings and errors, or succeed with or without build warnings.
For building an application using the Signaloid API you need to:
- Submit the build request (see here for single-file source code application or here for GitHub repositories) and get back a valid, unique
BuildID
. - Use the
BuildID
to check the status of the build using/builds/{build_id}
(see here). - Optionally, retrieve the build standard error output using
/builds/{build_id}/outputs
(see here).
The steps above are carried out by a user-facing application that can be written in any language; we provide examples written in Typescript and in Bash using cURL.