Comments (2)
Hi @abagusetty, thanks for your report!
First, your code is written in a way it's not guaranteed memcpy
will be completed by the end of the program, that's why it's not shown. To make it work you should add wait
:
...
queue[0]->memcpy(d_a, h_a, n*sizeof(float)).wait();
return 0;
}
Second, please, make sure you are using Level Zero backend/device. With that I see the following result:
$ onetrace -d ./test
n : 536869888, (GBs) : 2.14748
=== Device Timing Results: ===
Total Execution Time (ns): 727342119
Total Device Time for L0 backend (ns): 203665333
== L0 Backend: ==
Kernel, Calls, Time (ns), Time (%), Average (ns), Min (ns), Max (ns)
zeCommandListAppendMemoryCopy(M2D), 1, 203665333, 100.00, 203665333, 203665333, 203665333
from pti-gpu.
Thanks @anton-v-gorshkov for clarification, closing this.
from pti-gpu.
Related Issues (20)
- execute sysmon running process unknown HOT 2
- oneprof -q fails with error "ZE_RESULT_SUCCESS' failed" HOT 2
- Assertion `instance->device_sync <= queued' failed HOT 1
- [BUG][onetrace][IMME CmdList] Tool got less kernel calls in report than actual submitted HOT 2
- oneprof fails for LLM workloads
- [PTI-SDK] Buffer event timestamp conversion HOT 4
- [PTI-SDK] Memory copy record does not contain copied size HOT 5
- ze_tracer/onetrace: Assertion `call->command != command' failed with simple SYCL Graph application HOT 4
- Run into Segmentation fault when using unitrace for python script HOT 2
- [PTI-SDK][Discussion] Handling of host events with PTI-SDK PoC HOT 2
- Suggesting change in the name field in chrome tracing output HOT 1
- [unitrace] adding my own events HOT 6
- [PTI-SDK] Device / context-based buffers instead of thread-based buffers HOT 4
- There was a 4~5% variance in the capture results after using the "verbose" parameter. HOT 4
- Unitrace build err, shows `CL/cl.h - not found` HOT 5
- Request to support SYCL graph tracing HOT 2
- Cannot build onetrace/oneprof on Windows
- Can not generate .json event trace HOT 4
- [Warning] Unable to get GEN binary HOT 2
- [Unitrace] Tool always aborts by assertion error in 'UniTracer::Create' when tried to profile on python scripts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pti-gpu.