-
Notifications
You must be signed in to change notification settings - Fork 795
Open
Labels
Description
Hello!
MemCpyCommand::emitInstrumentationData()
:
llvm/sycl/source/detail/scheduler/commands.cpp
Lines 1342 to 1347 in 134618f
xpti::addMetadata(CmdTraceEvent, "copy_from", | |
reinterpret_cast<size_t>( | |
getSyclObjImpl(MSrcQueue->get_device()).get())); | |
xpti::addMetadata( | |
CmdTraceEvent, "copy_to", | |
reinterpret_cast<size_t>(getSyclObjImpl(MQueue->get_device()).get())); |
and
MemCpyCommandHost::emitInstrumentationData()
:llvm/sycl/source/detail/scheduler/commands.cpp
Lines 1524 to 1529 in 134618f
xpti::addMetadata(CmdTraceEvent, "copy_from", | |
reinterpret_cast<size_t>( | |
getSyclObjImpl(MSrcQueue->get_device()).get())); | |
xpti::addMetadata( | |
CmdTraceEvent, "copy_to", | |
reinterpret_cast<size_t>(getSyclObjImpl(MQueue->get_device()).get())); |
add
copy_from
and copy_to
metadata as pointer to device.
Is it expected behaviour?
I would expect that device id or device name should be add.
This behaviour was introduced after merge this PR: #4998
@alexbatashev could you take a look please?
Environment:
- DPC++ version: 4043dda
Question: Is there any way knowing the device ID to get its name?