Ensure that static structures are populated

此提交包含在:
Alex Voicu
2019-01-09 17:21:53 +00:00
提交者 GitHub
父節點 39ea22916a
當前提交 1c815170da
+1 -1
查看文件
@@ -650,7 +650,7 @@ extern "C" void __attribute__((constructor)) __startup_kernel_loader_init() {
int hip_startup_loader=0;
if (std::getenv("HIP_STARTUP_LOADER"))
hip_startup_loader = atoi(std::getenv("HIP_STARTUP_LOADER"));
if (hip_startup_loader) functions();
if (hip_startup_loader) functions(true);
}
extern "C" void __attribute__((destructor)) __startup_kernel_loader_fini() {