Fix env var name for CL_AGENT

This got incorrectly renamed to VDI_AGENT
Change-Id: Ifd7f7c89c0a4e4bfc29e0bceae2c22bf6ba01379


[ROCm/clr commit: b4d852de7f]
This commit is contained in:
Saleel Kudchadker
2020-04-08 11:05:09 -07:00
parent 64821e8189
commit 031b6c87be
+1 -1
View File
@@ -179,7 +179,7 @@ bool Agent::init() {
// potentialCapabilities_.canGenerateProgramEvents = 1;
// potentialCapabilities_.canGenerateKernelEvents = 1;
const char* envVar = ::getenv("VDI_AGENT");
const char* envVar = ::getenv("CL_AGENT");
if (envVar == NULL) {
return true;
}