Issue: Add RISC-V Platform Support to Harness
Summary
Extend certifiable-harness to detect and report RISC-V platforms, enabling golden reference comparison on TT hardware.
Background
certifiable-harness currently detects:
x86_64 — Intel/AMD 64-bit
aarch64 — ARM 64-bit
unknown — Fallback
For Tenstorrent integration, we need:
riscv64 — RISC-V 64-bit detection
- Potentially
ttsim — Simulator-specific identifier
Tasks
Implementation
const char *ch_get_platform(void)
{
#if defined(__x86_64__) || defined(_M_X64)
return "x86_64";
#elif defined(__aarch64__) || defined(_M_ARM64)
return "aarch64";
#elif defined(__riscv) && (__riscv_xlen == 64)
return "riscv64";
#else
return "unknown";
#endif
}
Acceptance Criteria
./certifiable-harness reports Platform: riscv64 when built for RISC-V
- Golden reference records correct platform
- JSON report shows correct platform
- Cross-compilation builds successfully
Assignee
@brixen
Labels
enhancement risc-v harness
Issue: Add RISC-V Platform Support to Harness
Summary
Extend certifiable-harness to detect and report RISC-V platforms, enabling golden reference comparison on TT hardware.
Background
certifiable-harness currently detects:
x86_64— Intel/AMD 64-bitaarch64— ARM 64-bitunknown— FallbackFor Tenstorrent integration, we need:
riscv64— RISC-V 64-bit detectionttsim— Simulator-specific identifierTasks
ch_get_platform()in harness.cImplementation
Acceptance Criteria
./certifiable-harnessreportsPlatform: riscv64when built for RISC-VAssignee
@brixen
Labels
enhancementrisc-vharness