noma / hexciton_benchmark Goto Github PK
View Code? Open in Web Editor NEWLicense: Boost Software License 1.0
License: Boost Software License 1.0
I've added CMake files to the project, which should simplify building with different SDKs a lot. benchmark_ocl
can now be built like follows (NOTE: load cmake module on HLRN; add OpenCL-specific CMake stuff as needed).
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DDEVICE_TYPE=CL_DEVICE_TYPE_CPU -DNUM_ITERATIONS=5 -DNUM_WARMUP=1 -DINTEL_PREFETCH_LEVEL=0 -DVEC_LENGTH=4 -DVEC_LENGTH_AUTO=16 -DOCL_BUILD_OPTIONS="" ..
make -j
This will create a build of benchmark_ocl
and all dependencies inside the folder build
. The variables from the old make_ocl.sh are just passed through via -D ...
here, so in a cmake_ocl.sh
script, the build
function can be replaced by a cmake call like above.
The build dir should be called build.<archictecture>.<sdk_suffix>
. The script could then take additional input via the environment or command line:
# example values
BUILD_DIR_SUFFIX= # e.g. intel_sdk_for_opencl_2017_7.0.0.2511_x64
CMAKE_OPTIONS="-DOpenCL_FOUND=True -DOpenCL_LIBRARY=${HOME}/Software/ocl_sdks/intel/intel_sdk_for_opencl_2017_7.0.0.2511_x64/opt/intel/opencl/exp-runtime-2.1/lib64/libintelocl_2_1.so"
Good luck. :-)
Could you please list the deviation (host and device results) of all the OpenCL kernels running on a CPU or a GPU ?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.