P4 to Git Change 1419977 by gandryey@gera-w8 on 2017/06/08 11:16:05

SWDEV-121409 - [SSG][Vega] new LF change requires integration in OpenCL
	- Add lfInit() and lfTerminate() calls

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#43 edit


[ROCm/clr commit: 3152da6be5]
Этот коммит содержится в:
foreman
2017-06-08 11:22:06 -04:00
родитель 4eb04f7f0e
Коммит 5968e32502
+7 -1
Просмотреть файл
@@ -74,6 +74,10 @@ Context::~Context() {
}
std::for_each(devices_.begin(), devices_.end(), std::mem_fun(&Device::release));
#if defined WITH_LIQUID_FLASH
lfTerminate();
#endif // WITH_LIQUID_FLASH
}
int Context::checkProperties(const cl_context_properties* properties, Context::Info* info) {
@@ -253,7 +257,9 @@ int Context::create(const intptr_t* properties) {
}
}
}
#if defined WITH_LIQUID_FLASH
lfInit();
#endif // WITH_LIQUID_FLASH
return result;
}