intel / compute-benchmarks Goto Github PK
View Code? Open in Web Editor NEWCompute Benchmarks for oneAPI Level Zero and OpenCL™ Driver
License: MIT License
Compute Benchmarks for oneAPI Level Zero and OpenCL™ Driver
License: MIT License
Everywhere I am familiar with, it is /usr/bin/env rather than /bin/env. After changing this I could get compute-benchmarks to compile
diff --git a/scripts/dpcpp-proxy.sh b/scripts/dpcpp-proxy.sh
index d0bc740..f179fc5 100755
--- a/scripts/dpcpp-proxy.sh
+++ b/scripts/dpcpp-proxy.sh
@@ -1,4 +1,4 @@
-#!/bin/env bash
+#!/usr/bin/env bash
@@ -16,4 +16,4 @@ if [[ " $@ " =~ .\ -fsycl\ . ]]; then
dpcpp "${@:2}"
else
"$@"
-fi
\ No newline at end of file
+fi
FindSYCL.cmake has a typo
It should read
" set(SYCL_INCLUDE_DIR "${SYCL_INCLUDE_DIR}" CACHE PATH "SYCL Include Directory")"
compute-benchmarks/cmake/FindSYCL.cmake
Line 34 in b049326
Hi,
Thank you very much for this repo. I just tried the ulls
tests and got a "strange" output:
CopySubmissionEvents(api=l0 engine=CCS0) 167089998.336 167088431.200 100.00% -23.280 334183367.920 [GPU] [us]
It's caused by the timer overflow here:
Assuming only one overflow one can use the "adding max value" back trick. For example,
Hope this helps,
Thomas
Following the instruction and running the cmake command shows the error:
/path/to/compute-benchmarks/source/benchmarks/api_overhead_benchmark/implementations/l0/command_list_host_synchronize_l0.cpp:56:9: error: ‘zeCommandListHostSynchronize’ was not declared in this scope; did you mean ‘CommandListHostSynchronize’?
56 | zeCommandListHostSynchronize(cmdList, std::numeric_limits<uint64_t>::max());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| CommandListHostSynchronize
When building the repo with icpx
the test_case/test_case_statistics.cpp
compile fail with
error: explicit comparison with infinity in fast floating point mode [-Werror,-Wtautological-constant-compare]
Possible solution:
tautological-constant-compare
-00
flags globallyA 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.