Commit db5a48c3 authored by Robert Kimball's avatar Robert Kimball

trace cleanup

parent 958bd88e
......@@ -97,7 +97,7 @@ const char* runtime::HostTensor::get_data_ptr() const
void runtime::HostTensor::write(const void* source, size_t n)
{
runtime::event::Duration d1("HostTensor", "write");
runtime::event::Duration d1("write", "HostTensor");
if (n > m_buffer_size)
{
......@@ -109,7 +109,7 @@ void runtime::HostTensor::write(const void* source, size_t n)
void runtime::HostTensor::read(void* target, size_t n) const
{
runtime::event::Duration d1("HostTensor", "read");
runtime::event::Duration d1("read", "HostTensor");
if (n > m_buffer_size)
{
throw out_of_range("read access past end of tensor");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment