SWORD: UMA LINGUAGEM DE PROGRAMAÇÃO COM PARALELISMO REPRODUTÍVEL VERIFICADO PELO COMPILADOR
Parallel floating-point sums often change their result with the number of threads and with the machine. This work presents Sword, a compiled programming language whose compiler detects data races and checks that the result of functions marked det depends only on their arguments. The guarantee was evaluated against C with OpenMP on five platforms, using a sum of ten million values, a Monte Carlo simulation and elementary functions. Over 40 runs of the sum, C produced 13 different results and Sword produced one. Sword’s plain sum cost the same as C’s; its exact sum cost about nine times more on the hardest data.
Authors
- Alexandre Mignon
- Pedro T Augusto
Institutions
- Universidade Presbiteriana Mackenzie (BR)
Publication Details
- Journal
- Anais do Congresso Brasileiro de Iniciação Científica
- Published
- 2026-11-22
- DOI
- https://doi.org/10.66221/pj3j9c35
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00