ParallelBezSurf is a project that utilizes OpenMP and CUDA to accelerate Bezier surface computations.
Bezier surfaces are widely used in computer graphics and modeling. However, the computations involved in evaluating Bezier surfaces can be computationally intensive, especially for large surfaces. This project aims to leverage the power of parallel computing to accelerate the computation of Bezier surfaces using OpenMP and CUDA.
- Utilizes OpenMP to parallelize the computation of Bezier surfaces on multi-core CPUs.
- Utilizes CUDA to offload the computation of Bezier surfaces to the GPU for even greater acceleration.
- Provides a user-friendly interface for specifying the control points and evaluating the Bezier surfaces.
- Supports both 2D and 3D Bezier surfaces.
- GCC compiler with OpenMP support
- CUDA-enabled GPU (for CUDA acceleration)
-
Clone the repository:
git clone https://github.com/ntnuYuhsuan/ParallelBezSurf.git
-
Build the project:
sudo apt-get update sudo apt-get install build-essential
-
Modify the control points in the source code to define your desired Bezier surface.
#define THREADS #define NUMS dim3 blockSize(1024); -
Compile and run the program:
./exe.sh
NTNU 方語軒 612K0028C@ntnu.edu.tw

