Parallel Implementations of the Composite Trapezium Rule for Finding the Approximate value of an Integral with Intel® oneAPI
Oluwatosin
Unknown
- 0 Collaborators
Parallel implementations of the Composite Trapezium Rule with OpenMP, OpenMP + oneMKL blas() and OpenMP + DPC++ ...learn more
Project status: Under Development
Overview / Usage
Scope of the project:
The scope of this project is Numerical methods, Data Parallelism and High Performance Computing. Finding the approximate value of an integral is a problem under numerical integration.
The composite trapezium rule:
Suppose we have a function f(x) that is integrable on points a and b. The composite trapezium rule is derived when we divide points a and b into N number of subintervals having equal lengths and then we apply the trapezium rule to evaluate each integral.
Let the interval [a, b] be subdivided into N equal parts of length h. That is, h = (b – a)/N. The trapezium rule would then be applied to evaluate each N integrals.
Case Study Integral
In this project, the case study integral is 4/(1+(x*x)) for approximating the value of PI.
Methodology / Approach
Methodology:
- Expressing the composite trapezium rule as a dot product so as to exploit the features of OpenMP/oneMKL composability.
- Expressing the composite trapezium rule with partition technique to exploit the features of OpenMP/DPC++ composability
- Comparing OpenMP gpu offloading with DPC++ for data, memory and device management.
Technologies Used
Development Environment: Intel devcloud; for developing, testing and running the project
Intel Hardware: Intel® Xeon® E-2176G;
**oneAPI Toolkit: **oneAPI base and HPC toolkit;
Programming Support: Direct-based programming with OpenMP and API-based programming with oneMKL.