GithubHelp home page GithubHelp logo

intel / compute-benchmarks Goto Github PK

View Code? Open in Web Editor NEW
25.0 11.0 22.0 5.89 MB

Compute Benchmarks for oneAPI Level Zero and OpenCL™ Driver

License: MIT License

CMake 1.63% Batchfile 0.03% Shell 0.15% C++ 94.87% C 3.32%

compute-benchmarks's Issues

scripts/dpcpp-proxy.sh

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

Copyright (C) 2022 Intel Corporation

@@ -16,4 +16,4 @@ if [[ " $@ " =~ .\ -fsycl\ . ]]; then
dpcpp "${@:2}"
else
"$@"
-fi
\ No newline at end of file
+fi

Timer Overflows in ulls l0 `copy_submission_events_l0`

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:

const auto submissionTime = std::chrono::nanoseconds((deviceStartTimestamp.global.kernelStart - truncatedDeviceEnqueueTimestamp) * timerResolution);

Assuming only one overflow one can use the "adding max value" back trick. For example,

https://github.com/intel/pti-gpu/blob/fffbe6d142fda7c1776de46cfc8e3d01e5daa34d/tools/ze_tracer/ze_kernel_collector.h#L590

Hope this helps,
Thomas

‘zeCommandListHostSynchronize’ was not declared in this scope

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.