-
Notifications
You must be signed in to change notification settings - Fork 0
salah-saleh/benchmarking-framework
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Copyright 2014,2015 Salaheldin Saleh. [email protected] This program 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. This program 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 this program. If not, see <http://www.gnu.org/licenses/>. This program can be used as a benchmarking framework for your kernels. You can make use of tools like IACA and Likwid quickly. To add - or modify - a kernel you should: (1) In kernels.h: (a) you should add a name for your kernel under "modification point 1". This will be used later for switching between all the kernels you want to benchmark. (b) Define your kernel at "modification point 2". (2) duplicate one of the <kernel.c> files - e.g striad.c or vtriad.c - and modify the modification points 1 and 2 to meet your needs. (3) In main.c: (a) "modification point 1": to set the number of arrays in your kernel so you don't have to worry about it again. (b) "modification point 2": to add an entry point for your kernel and set its arguments. (4) Visit the Makefile to set your enviroment.
About
benchmarking C code
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published