Skip to content

Commit 29298d1

Browse files
committed
Modify files
1 parent 1cf5327 commit 29298d1

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

DirectProgramming/C++SYCL/DenseLinearAlgebra/address_sanitizer/README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# `Jacobi Iterative Solver` Sample
1+
# `Address Sanitizer` Sample
22

3-
The `Jacobi Iterative Solver` sample demonstrates how to use Intel® oneAPI Base Toolkit (Base Kit) to target CPU, GPU, and multi-GPU to offload resource intensive computation using SYCL*. The targeted sample code demonstrates optimization and runtime differences for each type of device.
3+
The `Address Sanitizer` sample demonstrates how to use the AddressSanitizer (ASan) memory detector with the SYCL library.
44

55
| Area | Description
66
|:--- |:---
7-
| What you will learn | How selecting a different target impacts the behavior of a program.
7+
| What you will learn | How to use the Address Sanitizer tool
88
| Time to complete | 10 minutes
9-
| Category | Code Optimization
9+
| Category | Memory Management
1010

1111

1212
## Purpose
1313

14-
The `Jacobi Iterative Solver` sample illustrates how to use the Jacobi Iterative method to solve linear equations. In this case, the sample solves a system of equations represented by two input matrices. The first matrix is the number of unknown variables. The second matrix contains the results. The sample code calculates the results using the Jacobi method and compares the newly calculated results with the old ones.
14+
The `Address Sanitizer` sample illustrates how to use Address Sanitizer to manage memory errors with the SYCL library. Each of the examples shows a different error and how to
1515

1616
This sample starts with a CPU-oriented application and shows how to use SYCL and several tools to offload regions of the code to a GPU on the target system.
1717

@@ -31,17 +31,20 @@ The sample includes three versions of the `Jacobi Iterative Solver` program.
3131

3232
| Optimized for | Description
3333
|:--- |:---
34-
| OS | Ubuntu* 18.04 (or newer)
34+
| OS | Ubuntu* 20.04 (or newer)
3535
| Hardware | GEN9 (or newer)
3636
| Software | Intel® oneAPI DPC++/C++ Compiler
3737

3838
## Key Implementation Details
3939

4040
The basic SYCL implementation explained in the code includes:
4141

42-
- local buffers and accessors (declare local memory buffers and accessors to be accessed and managed by each workgroup)
43-
- shared local memory (SLM) optimizations
44-
- kernels (including parallel_for function and range<1> objects)
42+
- out-of-bounds
43+
- use-after-free
44+
- misalign-access
45+
- double-free
46+
- bad-free
47+
- bad-context
4548

4649

4750
## Set Environment Variables

DirectProgramming/C++SYCL/DenseLinearAlgebra/address_sanitizer/sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
}
2323
]
2424
},
25-
"expertise": "Code Optimization"
25+
"expertise": "Memory Management"
2626
}

0 commit comments

Comments
 (0)