A program to calculate perfect numbers.
This program aims to calculate Perfect Numbers.
Download the source code from Github
git clone https://github.com/ozneroL541/Perfect_Numbers.git
To compile this program you need a make utility and a C compiler beetween Intel oneAPI DPC++/C++ Compiler and GNU Compiler Collection.
By default the make file will use ICX if avaiable, otherwise GCC will be used. To compile for NVIDIA GPU you need CUDA.
To compile for CPU run:
make
To compile for NVIDIA run:
make -f Makefile.cuda -j$(nproc)
To execute the program on Posix Operative Systems run:
bin/perfect_c
On Windows run:
bin/perfect_c.exe
To execute the program on Posix Operative Systems run:
bin/perfect_cu
On Windows run:
bin/perfect_cu.exe
To document this software use:
doxygen docfile
- Radice Lorenzo @ozneroL541
GPU_Stress is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
GPU_Stress is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GPU_Stress. If not, see http://www.gnu.org/licenses/.