فئة ara::shwa::DeviceDiese Seite wurde vollständig KI-generiert auf Basis von SWS Safe Hardware Acceleration (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.
[AP_SWS_SHWA_00301] لم يُستورد النص بعد Upstream: RS_SHWA_00001 , RS_SHWA_00015
class Device final {...}; Die Spezifikation definiert diesen Klassentyp mit der gezeigten Schnittstelle.
Header-Datei #include "ara/shwa/device.h" Scope namespace ara::shwa
دليل المستخدممولَّد بالذكاء الاصطناعي تغليف مُسرِّعات العتاد والتعرف عليها، مثل وحدات المعالجة المركزية (CPUs) ووحدات معالجة الرسومات (GPUs)، للتنفيذ الآمن للمهام كثيفة الحوسبة.
مُولَّد بالذكاء الاصطناعي
غير مُراجَع
النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 920debb94b23
المصدر
أسئلة مفتوحة (2)
ملخص مفصّل
تغليف مُسرِّعات العتاد والتعرف عليها، مثل وحدات المعالجة المركزية (CPUs) ووحدات معالجة الرسومات (GPUs)، للتنفيذ الآمن للمهام كثيفة الحوسبة.
السياق
تُستخدم الفئة ara::shwa::Device في وحدة تسريع العتاد الآمن (Safe Hardware Acceleration) كتجريد أساسي لوحدات الحوسبة المادية AUTOSAR_AP_SWS_SafeHardwareAcceleration ص. 12 . وضمن Adaptive Platform، تتيح لـ Adaptive Applications والمجموعات الوظيفية الأخرى الوصول إلى موارد المُسرِّعات وإدارتها. ويجمع النظام الكلي النموذجي بين نُسخ Device وقوائم انتظار التنفيذ (Queues) ومخازن الذاكرة المؤقتة (Buffers)، لتفويض المهام كثيفة الحوسبة بشكل منظم إلى عتاد التسريع SWS_SafeHardwareAcceleration ص. 22 .
DeviceContext
app
Adaptive Application
device
ara::shwa::Device
app->device
erzeugt / fragt ab
queues
Queues & Buffers
app->queues
يستخدم
hardware
Hardware-Beschleuniger
(CPU, GPU, Accelerator)
device->hardware
abstrahiert
queues->device
referenziert
مخطط السياق: تضمين ara::shwa::Device في التفاعل المشترك مع التطبيق وقوائم الانتظار والعتاد. المصادر: AUTOSAR_AP_SWS_SafeHardwareAcceleration ص. 12 ، SWS_SafeHardwareAcceleration ص. 22
دورة الحياة
يخضع إنشاء كائنات ara::shwa::Device لرقابة صارمة: فالمُنشئ الافتراضي محذوف صراحةً [AP_SWS_SHWA_00302] . ولا يمكن إنشاء النُّسخ إلا عبر دوال المصنع الثابتة Create()، إما بدون معلمات لجهاز افتراضي [AP_SWS_SHWA_00308] ، أو بمعلمات عبر كائن محدد باستخدام Create(const DeviceSelector&) [AP_SWS_SHWA_00309] . وتُرجع كلتا الدالتين ara::core::Result<Device>.
فيما يتعلق بملكية الموارد، تتمتع الفئة بدلالات نسخ ونقل نظامية: حيث تم التصريح عن كلٍّ من مُنشئ النسخ [AP_SWS_SHWA_00303] وعامل إسناد النسخ [AP_SWS_SHWA_00304] ، وكذلك مُنشئ النقل [AP_SWS_SHWA_00305] وعامل إسناد النقل [AP_SWS_SHWA_00306] كـ noexcept=default. تفسير: يُرجَّح أن الكائن مصمم داخليًا كمقبض خفيف الوزن لمورد العتاد الفعلي، بحيث تكون عمليات النسخ ممكنة بجهد ضئيل وبأمان تام ضد الاستثناءات. سؤال Q-a6ff4d89f19b0f36 (مفتوح) ويرتبط العمر التشغيلي لواجهة العتاد المادية بوقت تشغيل المشغِّل أو النظام الفرعي الأساسي، بينما يمكن تمرير النسخة على مستوى التطبيق كنوع قيمة اعتيادي. وقد تم تحديد جميع استدعاءات المصنع ودوال الفئة على أنها غير آمنة خيطيًا.
مسار الاستخدام
يبدأ مسار الاستخدام النموذجي بالاستنساخ عبر إحدى دوال المصنع. وبعد الإرجاع الناجح، يتم فحص النسخة لتحديد نوع وحدة الحوسبة والاستعلام عن المعلمات المحددة للجهاز. وبعد ذلك، يُخصص الجهاز عادةً لقوائم الانتظار والمخازن المؤقتة لتنفيذ أوامر المعالجة.
الاستنساخ: استدعاء Create() أو Create(deviceSelector) لتوفير الجهاز [AP_SWS_SHWA_00308] ، [AP_SWS_SHWA_00309] .
التحقق من النوع: التحقق من فئة العتاد عبر المسندات IsCpu() [AP_SWS_SHWA_00310] ، أو IsGpu() [AP_SWS_SHWA_00311] ، أو IsAccelerator() [AP_SWS_SHWA_00312] .
الاستعلام عن التكوين: قراءة معلومات الجهاز التفصيلية عبر دالة القالب GetInfo<InfoType>() [AP_SWS_SHWA_00313] .
التهيئة النموذجية والاستعلام عن معلومات Device التطبيق Device Create(deviceSelector) Result<Device> IsGpu() Result<bool> GetInfo<InfoType>() Result<ReturnType>
مخطط تسلسلي: التسلسل النموذجي للتهيئة والتحقق من النوع والاستعلام عن المعلومات. المصادر: [AP_SWS_SHWA_00309] ، [AP_SWS_SHWA_00311] ، [AP_SWS_SHWA_00313]
سيناريوهات الأخطاء
تُبلِّغ دوال ara::shwa::Device عن حالات الخطأ بشكل حتمي عبر نوع الخطأ ara::core::Result. وتتحدد حالات الخطأ التالية في المواصفة:
فيما يتعلق بالأمان ضد الاستثناءات، تُعتبر جميع العمليات exception safe أو تم وسمها بـ noexcept. ونظرًا لأن العمليات ليست آمنة خيطيًا، يجب مزامنة الاستدعاءات المتوازية على نفس النسخة أو على موارد العتاد المشتركة بواسطة الطبقة المستخدمة.
يستند هذا الدليل إلى معيار AUTOSAR R25-11 وقد تم إنشاؤه آليًا.
التجميع حسب النوع السجل
خريطة الأعضاء عرض التفاصيل لا توجد بيانات عناصر لهذا الإصدار
المُنشئات والمُتلف Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
التحميلات الزائدة Device 3 الدوال الأعضاء Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.
التحميلات الزائدة Create 2 template <typename DeviceSelector> static ara::core::Result< Device > Create (const DeviceSelector &deviceSelector) noexcept; AP_SWS_SHWA_00309 Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.
template <typename InfoType> ara::core::Result< typename InfoType::ReturnType > GetInfo () const noexcept;
Prüft die in der Signatur bezeichnete Eigenschaft des Devices oder der Queue.
ara::core::Result< bool > IsAccelerator () const noexcept;
Prüft die in der Signatur bezeichnete Eigenschaft des Devices oder der Queue.
ara::core::Result< bool > IsCpu () const noexcept;
Prüft die in der Signatur bezeichnete Eigenschaft des Devices oder der Queue.
ara::core::Result< bool > IsGpu () const noexcept;
المعاملات Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
التحميلات الزائدة = 2
انقر على عنصر لعرض علاقاته.
الفئة الأساسية المشتقة يستخدم مستخدم بواسطة الوراثة محذوف اعتبارًا من يظهر في لا توجد علاقات في هذه الفئة الدوال تعليق الذكاء الاصطناعي فتح صفحة الفئة تعذر تحميل صفحة الفئة. تغيير الترتيب تغيير العرض تغيير عرض المخطط الأقسام مدة القراءة مراجع SWS المخططات إعادة إلى الوسط غيّر الترتيب أو اسحب إلى شريط العنوان فك الإرساء – العرض في المحتوى نقل إلى العمود الأوسط إرساء كتبويب في شريط العنوان العناصر نموذج الذكاء الاصطناعي فتح ملف التدقيق الملف فتح النسخة المختصرة فتح النسخة المتوسطة فتح النسخة الكاملة استعادة العرض الافتراضي تمت استعادة العرض الافتراضي تراجع إغلاق العرض التفصيلي التوقيع معلومات عامة القيم آخر تغيير حتى الإصدار المحدد التغيير التالي بعده انقر: اختيار الإصدار لا يمكن الإفلات هنا: اسحب إلى شريط العنوان للتثبيت، أو إلى العمود الأوسط لإلغاء التثبيت. جديد معدَّل دون تغيير محذوف غير مُدرج التغييرات لا تغيير في المحتوى لأول مرة في حُذف في لا تتوفر بيانات الإصدارات. جارٍ تحميل بيانات الإصدارات … النص الصياغة غير مسجلة في هذا الإصدار مرِّر فوق خلية أو انقرها: المقارنة مع الإصدار المحدد · انقر رأس إصدار: اختيار الإصدار اختيار الإصدار البيانات الإصدار العنصر إصدار واحد فقط بصياغة موجود في PDF، لم يُستورد النص بعد التُقط النص لأول مرة دون تغيير منذ {rel} ألوان الإصدارات أقدم إصدار أحدث إصدار
التفاصيل Device ()=delete; Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
Scope class ara::shwa::Device
Status: valid/unmigrated
Version: rel:R25-11#aef4a102
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00302@rel:R25-11#aef4a102
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
Device (Device &&dev) noexcept=default; Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
Scope class ara::shwa::Device Exception Safety exception safe
Status: valid/unmigrated
Version: rel:R25-11#8a2c1f5f
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00305@rel:R25-11#8a2c1f5f
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
Device & operator= (Device &&dev) noexcept=default; Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
Scope class ara::shwa::Device Exception Safety exception safe
Status: valid/unmigrated
Version: rel:R25-11#bf26e06b
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00306@rel:R25-11#bf26e06b
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
Device & operator= (const Device &dev) noexcept=default; Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
Scope class ara::shwa::Device Exception Safety exception safe
Status: valid/unmigrated
Version: rel:R25-11#10c34f3d
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00304@rel:R25-11#10c34f3d
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
Device (Device const &dev) noexcept=default; Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
Scope class ara::shwa::Device Exception Safety exception safe
Status: valid/unmigrated
Version: rel:R25-11#0b94a2cf
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00303@rel:R25-11#0b94a2cf
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
template <typename DeviceSelector> static ara::core::Result< Device > Create (const DeviceSelector &deviceSelector) noexcept; Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.
Scope class ara::shwa::Device Thread Safety not thread-safe rollback_semantics ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k FeatureNotSupported Used when a requested feature isn’t supported
Status: valid/unmigrated
Version: rel:R25-11#aab7bd32
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00309@rel:R25-11#aab7bd32
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
static ara::core::Result< Device > Create () noexcept; Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.
Scope class ara::shwa::Device Thread Safety not thread-safe rollback_semantics ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k FeatureNotSupported Used when a requested feature isn’t supported
Status: valid/unmigrated
Version: rel:R25-11#6c55f83b
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00308@rel:R25-11#6c55f83b
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
template <typename InfoType> ara::core::Result< typename InfoType::ReturnType > GetInfo () const noexcept; Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.
Scope class ara::shwa::Device Thread Safety not thread-safe rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k FeatureNotSupported Used when a requested feature isn’t supported
Status: valid/unmigrated
Version: rel:R25-11#bc5de536
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00313@rel:R25-11#bc5de536
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result< bool > IsAccelerator () const noexcept; Prüft die in der Signatur bezeichnete Eigenschaft des Devices oder der Queue.
Scope class ara::shwa::Device Thread Safety not thread-safe rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy
Status: valid/unmigrated
Version: rel:R25-11#4ea7c619
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00312@rel:R25-11#4ea7c619
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result< bool > IsCpu () const noexcept; Prüft die in der Signatur bezeichnete Eigenschaft des Devices oder der Queue.
Scope class ara::shwa::Device Thread Safety not thread-safe rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy
Status: valid/unmigrated
Version: rel:R25-11#d8084c02
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00310@rel:R25-11#d8084c02
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result< bool > IsGpu () const noexcept; Prüft die in der Signatur bezeichnete Eigenschaft des Devices oder der Queue.
Scope class ara::shwa::Device Thread Safety not thread-safe rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy
Status: valid/unmigrated
Version: rel:R25-11#66b23ae4
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/AP_SWS_SHWA_00311@rel:R25-11#66b23ae4
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
gemini-3.8-flash-low· 2026-10-13 · الأصل الألماني