mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Pass ClientType to Gmm
Change-Id: I25ba11d2fd1523fd5cf35157d6a2381991709ad2 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
2bf23742f1
commit
d51e3bb9ce
@@ -15,7 +15,10 @@ namespace NEO {
|
||||
bool OSInterface::osEnableLocalMemory = true;
|
||||
|
||||
void OSInterface::setGmmInputArgs(void *args) {
|
||||
reinterpret_cast<GMM_INIT_IN_ARGS *>(args)->FileDescriptor = this->get()->getDrm()->getFileDescriptor();
|
||||
auto gmmInArgs = reinterpret_cast<GMM_INIT_IN_ARGS *>(args);
|
||||
|
||||
gmmInArgs->FileDescriptor = this->get()->getDrm()->getFileDescriptor();
|
||||
gmmInArgs->ClientType = GMM_CLIENT::GMM_OCL_VISTA;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user