Skip to content

Commit 4d6778b

Browse files
Revise implementation details for exponential function
Updated the title and added a summary of accomplishments and next steps.
1 parent 4909c69 commit 4d6778b

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

content/learning-paths/servers-and-cloud-computing/fexpa/implementation.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: First implementation
2+
title: Implement exponential with SVE intrinsics
33
weight: 3
44

55
### FIXED, DO NOT MODIFY
@@ -8,11 +8,11 @@ layout: learningpathall
88

99
## Implement the exponential function
1010

11-
Based on the theory covered in the previous section, you can implement the exponential function using SVE intrinsics with polynomial approximation. This Learning Path was tested using a AWS Graviton4 instance type `r8g.medium`.
11+
Based on the theory covered in the previous section, implement the exponential function using SVE intrinsics with polynomial approximation. This Learning Path was tested using an AWS Graviton4 instance type `r8g.medium`.
1212

1313
## Set up your environment
1414

15-
To run the example, you will need `gcc`.
15+
To run the example, you need `gcc`.
1616

1717
```bash
1818
sudo apt update
@@ -230,4 +230,11 @@ The benchmark demonstrates the performance benefit of using SVE intrinsics for v
230230

231231
The accuracy check confirms that the polynomial approximation maintains high precision, with errors typically in the range of 10^-9 to 10^-10 for single-precision floating-point values.
232232

233-
Continue to the next section to dive into the FEXPA intrinsic implementation, providing further performance uplifts.
233+
## What you've accomplished and what's next
234+
235+
In this section, you:
236+
- Implemented a vectorized exponential function using SVE intrinsics
237+
- Applied range reduction and polynomial approximation techniques
238+
- Achieved up to 4x speedup over the scalar baseline
239+
240+
Next, you'll optimize further using the FEXPA instruction for additional performance gains.

0 commit comments

Comments
 (0)