context array valid bit reverted

Change-Id: Ibbbf19ffd2e66750d7296d2b45850c21bb86445a
Este cometimento está contido em:
Evgeny cometeu 2018-03-21 21:11:42 -05:00
1 ascendente 6c4078f9fc
cometimento aea5d8e0d9
3 ficheiros modificados
+22 -10

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -356,7 +356,7 @@ class Context {
if (expr) {
auto it = info_map_.find(name);
if (it == info_map_.end())
EXC_RAISING(HSA_STATUS_ERROR, "metric '" << name << "', rocprofiler info is not found");
EXC_RAISING(HSA_STATUS_ERROR, "metric '" << name << "', rocprofiler info is not found " << this);
rocprofiler_feature_t* info = it->second;
info->data.result_int64 = expr->Eval(args);
info->data.kind = ROCPROFILER_DATA_KIND_INT64;
+8
Ver ficheiro
@@ -7,6 +7,14 @@
#include <sstream>
#include <string>
#define EXC_ABORT(error, stream) \
{ \
std::ostringstream oss; \
oss << __FUNCTION__ << "(), " << stream; \
std::cout << oss.str() << std::endl; \
abort(); \
}
#define EXC_RAISING(error, stream) \
{ \
std::ostringstream oss; \