Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
oneapi-src
/
oneAPI-samples
Public
Notifications
You must be signed in to change notification settings
Fork
745
Star
1.2k
Code
Issues
64
Pull requests
7
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Exception Handling
Jump to bottom
Edit
New page
Wei, Jimmy T edited this page
Mar 10, 2023
·
1 revision
C++ Exceptions
Use exceptions when required
Initialization failures
Exceptions are not allowed in DPC++ kernels
Design code that reduces the need for error handling
Wiki pages
Pages
31
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Accessors
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Additional Resources
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
AI Getting Started and Features and Functionality README Template
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Buffers
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CI Tips
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Code Requirements
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Code Sample General Criteria
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Compute Group Handler
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Contributing a New Sample
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
dpc_common.hpp
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
DPCpp
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Exception Handling
C++ Exceptions
Loading
General Code Guidelines
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
General Guidelines
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Github Steps for Contribution
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Idiomatic Names
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Labels Index
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
main() function requirements
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
oneAPI Code Samples Targeted Devices
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Readme template
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Reviewers and Domain Experts
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Sample Browser
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Sample Directory Structure
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
sample json categories array
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
sample json ci test object
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
sample json specification
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Testing Samples
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Text IO Handling
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Triage Role Access
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
USM allocation template
Uh oh!
There was an error while loading.
Please reload this page
.
Show 16 more pages…
Home
DPC++ what is it?
Administration
Triage Role Access
PR Labels Index
Reviewers and Domain Experts
sample.json
Specification
Categories
CI Test Object
Sample Browser
GitHub Steps for Contribution
New Sample Submission
Contributing A New Sample
Sample Directory Structure
Code Requirements
Guidelines
General Guidelines
Sample Criteria
Coding Guidleines
General Guidelines
main() Requirements
Accessors
Buffers
Compute Group Handler
dpc_common.hpp
Exception Handling
Idiomatic Names
TXT I/O Handling
USM Allocation
Clone this wiki locally
You can’t perform that action at this time.