Define explicit atomic memory operations and ordering

オープン
#920 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
compilers

調査の方向性

Start by inspecting the compiler and standard library sources mentioned in the issue to confirm the existing Wave atomic support and identify the relevant target capability mechanisms. Discuss the design with @LunaStev before implementation. Done means the operation set, widths, alignment, ordering contract, target reporting and fallback policy are specified, with validation criteria for generated operations, concurrency behavior and invalid-order diagnostics.

索引モデルが issue の本文から書いたものです。

説明

discussion enhancement

Motivation

No Wave atomic load/store/RMW or memory-order API was found in inspected compiler/std sources. Rust atomics used by compiler tooling do not provide Wave-language atomics.

Scope

Decide widths, alignment, ordering, target support and unsupported diagnostics. Avoid hidden lock-based fallbacks unless explicitly selected. Separate this design from volatile device access.

Completion criteria

  • Approve operation set, widths/alignment and the memory-order contract.
  • Specify target capability reporting and whether any explicit fallback is permitted.
  • Validate generated ordering/RMW operations, concurrency behavior and invalid-order diagnostics.

Design required. Please mention @LunaStev to discuss the design before starting implementation.

主要言語
Rust
スター
56
フォーク
21
平均マージ
23時間 20分
マージ済み PR(30日)
45

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wavefnd/Wave のほかの issue

wavefnd/Wave の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。