From f14c68935307419f982ddff1e520cd06a8ce0eff Mon Sep 17 00:00:00 2001 From: routersys Date: Sun, 5 Jul 2026 16:13:05 +0900 Subject: [PATCH] =?UTF-8?q?[fast]=E3=82=92=E5=85=A8=E8=A8=80=E8=AA=9E?= =?UTF-8?q?=E3=83=89=E3=82=AD=E3=83=A5=E3=83=A1=E3=83=B3=E3=83=88=E3=81=B8?= =?UTF-8?q?=E8=BF=BD=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaScript/docs/LuaScript.ar-sa.txt | 7 +++++++ LuaScript/docs/LuaScript.en-us.txt | 7 +++++++ LuaScript/docs/LuaScript.es-es.txt | 7 +++++++ LuaScript/docs/LuaScript.id-id.txt | 7 +++++++ LuaScript/docs/LuaScript.ja-jp.txt | 7 +++++++ LuaScript/docs/LuaScript.ko-kr.txt | 7 +++++++ LuaScript/docs/LuaScript.zh-cn.txt | 7 +++++++ LuaScript/docs/LuaScript.zh-tw.txt | 7 +++++++ 8 files changed, 56 insertions(+) diff --git a/LuaScript/docs/LuaScript.ar-sa.txt b/LuaScript/docs/LuaScript.ar-sa.txt index b2f8133..35df833 100644 --- a/LuaScript/docs/LuaScript.ar-sa.txt +++ b/LuaScript/docs/LuaScript.ar-sa.txt @@ -974,6 +974,13 @@ x in <1..5> يفحص 1 <= x and x <= 5. <1..<5> لا يشمل الحد الأعلى. يُقيَّم الطرف الأيسر مرة واحدة. + ○ [fast] (علامة التسريع) * امتداد خاص بـ YMM4 + وضع [fast] مباشرة قبل obj.fill / obj.convolve / obj.resize يفوّض تلك + العملية إلى وحدة معالجة الرسوميات. افتراضيًا تُنفَّذ هذه العمليات على المعالج. + مثال: [fast] obj.convolve(kernel, 5) + * يظهر خطأ عندما يسبق [fast] أي شيء غير هذه الدوال الثلاث. + * يعمل في محرك MoonSharp والمحرك الأصلي على حد سواء. + - أمثلة على النصوص البرمجية - diff --git a/LuaScript/docs/LuaScript.en-us.txt b/LuaScript/docs/LuaScript.en-us.txt index 2345930..d38f6da 100644 --- a/LuaScript/docs/LuaScript.en-us.txt +++ b/LuaScript/docs/LuaScript.en-us.txt @@ -1013,6 +1013,13 @@ x in <1..5> tests 1 <= x and x <= 5. <1..<5> excludes the upper bound. The left side is evaluated once. + o [fast] (acceleration marker) * YMM4 extension + Placing [fast] right before obj.fill / obj.convolve / obj.resize + delegates that operation to the GPU. By default these run on the CPU. + Example: [fast] obj.convolve(kernel, 5) + * An error is shown when [fast] precedes anything other than those three functions. + * Works in both the MoonSharp and native engines. + - Script Examples - diff --git a/LuaScript/docs/LuaScript.es-es.txt b/LuaScript/docs/LuaScript.es-es.txt index 097b8cf..698e7dc 100644 --- a/LuaScript/docs/LuaScript.es-es.txt +++ b/LuaScript/docs/LuaScript.es-es.txt @@ -1034,6 +1034,13 @@ x in <1..5> comprueba 1 <= x and x <= 5. <1..<5> excluye el límite superior. El lado izquierdo se evalúa una sola vez. + o [fast] (marcador de aceleración) * extensión de YMM4 + Colocar [fast] justo antes de obj.fill / obj.convolve / obj.resize + delega esa operación a la GPU. De forma predeterminada se ejecutan en la CPU. + Ejemplo: [fast] obj.convolve(kernel, 5) + * Se muestra un error cuando [fast] precede a algo distinto de esas tres funciones. + * Funciona tanto en el motor MoonSharp como en el nativo. + - Ejemplos de script - diff --git a/LuaScript/docs/LuaScript.id-id.txt b/LuaScript/docs/LuaScript.id-id.txt index c5aae62..8c631f9 100644 --- a/LuaScript/docs/LuaScript.id-id.txt +++ b/LuaScript/docs/LuaScript.id-id.txt @@ -1024,6 +1024,13 @@ x in <1..5> menguji 1 <= x and x <= 5. <1..<5> tidak menyertakan batas atas. Sisi kiri dievaluasi sekali. + o [fast] (penanda akselerasi) * ekstensi YMM4 + Menempatkan [fast] tepat sebelum obj.fill / obj.convolve / obj.resize + mendelegasikan operasi tersebut ke GPU. Secara default operasi ini berjalan di CPU. + Contoh: [fast] obj.convolve(kernel, 5) + * Kesalahan ditampilkan jika [fast] mendahului selain ketiga fungsi tersebut. + * Berfungsi pada mesin MoonSharp maupun native. + - Contoh Skrip - diff --git a/LuaScript/docs/LuaScript.ja-jp.txt b/LuaScript/docs/LuaScript.ja-jp.txt index 24ce410..7f04e23 100644 --- a/LuaScript/docs/LuaScript.ja-jp.txt +++ b/LuaScript/docs/LuaScript.ja-jp.txt @@ -981,6 +981,13 @@ x in <1..5> は 1 <= x and x <= 5 を判定します。 <1..<5> は上限を含みません。左辺は 1 度だけ評価します。 + ○[fast](高速化マーカー) ※YMM4独自拡張 + obj.fill / obj.convolve / obj.resize の直前に [fast] を置くと、その + 処理を GPU へ委譲します。標準ではこれらは CPU で実行します。 + 例:[fast] obj.convolve(kernel, 5) + ※ [fast] を付けた対象が上記 3 関数以外のときはエラーを表示します。 + ※ 従来エンジンと高速ランタイムの両方で動作します。 + - スクリプト例 - diff --git a/LuaScript/docs/LuaScript.ko-kr.txt b/LuaScript/docs/LuaScript.ko-kr.txt index 42583fb..9776614 100644 --- a/LuaScript/docs/LuaScript.ko-kr.txt +++ b/LuaScript/docs/LuaScript.ko-kr.txt @@ -970,6 +970,13 @@ x in <1..5>는 1 <= x and x <= 5를 판정합니다. <1..<5>는 상한을 포함하지 않습니다. 왼쪽 값은 한 번만 평가합니다. + ○ [fast] (가속 마커) ※YMM4 고유 확장 + obj.fill / obj.convolve / obj.resize 바로 앞에 [fast]를 두면 해당 + 처리를 GPU에 위임합니다. 기본적으로 이들은 CPU에서 실행합니다. + 예: [fast] obj.convolve(kernel, 5) + ※ [fast]를 붙인 대상이 위 3개 함수가 아니면 오류를 표시합니다. + ※ 기존 엔진과 고속 런타임 양쪽에서 동작합니다. + - 스크립트 예 - diff --git a/LuaScript/docs/LuaScript.zh-cn.txt b/LuaScript/docs/LuaScript.zh-cn.txt index 0b70865..12bd980 100644 --- a/LuaScript/docs/LuaScript.zh-cn.txt +++ b/LuaScript/docs/LuaScript.zh-cn.txt @@ -928,6 +928,13 @@ x in <1..5> 判断 1 <= x and x <= 5。 <1..<5> 不包含上限。左侧只求值一次。 + ○ [fast](加速标记) ※YMM4专有扩展 + 在 obj.fill / obj.convolve / obj.resize 前面加上 [fast],即可将该 + 处理委托给 GPU。默认情况下这些处理在 CPU 上执行。 + 例:[fast] obj.convolve(kernel, 5) + ※ 若 [fast] 修饰的目标不是上述 3 个函数,则显示错误。 + ※ 在传统引擎和高速运行时上均可运行。 + - 脚本示例 - diff --git a/LuaScript/docs/LuaScript.zh-tw.txt b/LuaScript/docs/LuaScript.zh-tw.txt index bb3fa7a..c24fb50 100644 --- a/LuaScript/docs/LuaScript.zh-tw.txt +++ b/LuaScript/docs/LuaScript.zh-tw.txt @@ -929,6 +929,13 @@ x in <1..5> 判斷 1 <= x and x <= 5。 <1..<5> 不包含上限。左側只求值一次。 + ○ [fast](加速標記) ※YMM4專有擴充 + 在 obj.fill / obj.convolve / obj.resize 前面加上 [fast],即可將該 + 處理委派給 GPU。預設情況下這些處理在 CPU 上執行。 + 例:[fast] obj.convolve(kernel, 5) + ※ 若 [fast] 修飾的目標不是上述 3 個函式,則顯示錯誤。 + ※ 在傳統引擎與高速執行環境上皆可運行。 + - 腳本範例 -