Skip to main content

signaloid-cli cores

Manage Signaloid compute cores for uncertainty tracking.

Synopsis

signaloid-cli cores <command> [options]

Description

The cores command group allows you to manage Signaloid compute cores. Cores define the computational resources and uncertainty tracking capabilities used for builds and tasks. See Execution Cores for details on the available configuration options. You can list available cores, create custom cores, and manage core configurations.

Commands

  • list - List available cores
  • get - Get details about a specific core
  • create - Create a custom core configuration
  • update - Update core configuration
  • delete - Delete a custom core

Complete Workflow Example

#!/bin/bash

# 1. List available default cores
echo "Available default cores:"
signaloid-cli cores list --default

# 2. Create custom core for project
echo "Creating custom core..."
CORE_RESPONSE=$(signaloid-cli cores create \
--name "Project Alpha Core" \
--class C0Pro \
--precision 64 \
--memory 1024000 \
--microarchitecture Athens \
--correlation-tracking Autocorrelation)

CORE_ID=$(echo $CORE_RESPONSE | jq -r '.CoreID')
echo "Created core: $CORE_ID"

# 3. Use core for build
BUILD_RESPONSE=$(signaloid-cli builds create:source \
--file main.c \
--lang C \
--core-id $CORE_ID)

BUILD_ID=$(echo $BUILD_RESPONSE | jq -r '.BuildID')
echo "Build created: $BUILD_ID"

# 4. Wait for build and create task
signaloid-cli builds watch --build-id $BUILD_ID
TASK_ID=$(signaloid-cli tasks create --build-id $BUILD_ID | jq -r '.TaskID')

# 5. Get results
signaloid-cli tasks watch --task-id $TASK_ID
signaloid-cli tasks output --task-id $TASK_ID

echo "Complete!"

Exit Codes

CodeDescription
0Success
1Error (invalid parameters, core not found, etc.)

See Also

Learn More