Searched refs:tls_current_annotation (Results 1 – 1 of 1) sorted by relevance
104 static thread_local const char* tls_current_annotation; variable116 if (tls_current_annotation) { in StartKernel()117 record.annotation = &*annotations_.emplace(tls_current_annotation).first; in StartKernel()135 if (tls_current_annotation) { in StartMemcpy()136 record.annotation = &*annotations_.emplace(tls_current_annotation).first; in StartMemcpy()345 tls_current_annotation = annotation.c_str(); in CreateAnnotationHandle()347 ~Impl() override { tls_current_annotation = nullptr; } in CreateAnnotationHandle()