summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/abstract_hardware_model.cc')
-rw-r--r--src/abstract_hardware_model.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc
index e8ddf95..7123c24 100644
--- a/src/abstract_hardware_model.cc
+++ b/src/abstract_hardware_model.cc
@@ -782,6 +782,7 @@ kernel_info_t::kernel_info_t(dim3 gridDim, dim3 blockDim,
num_blocks() * entry->gpgpu_ctx->device_runtime->g_TB_launch_latency;
cache_config_set = false;
+ allocated_ctas = 0;
}
/*A snapshot of the texture mappings needs to be stored in the kernel's info as
@@ -815,6 +816,7 @@ kernel_info_t::kernel_info_t(
cache_config_set = false;
m_NameToCudaArray = nameToCudaArray;
m_NameToTextureInfo = nameToTextureInfo;
+ allocated_ctas = 0;
}
kernel_info_t::~kernel_info_t() {