Change names of IOCTLS

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 9f647b07ff]
This commit is contained in:
Oded Gabbay
2014-12-29 13:34:32 +02:00
parent cdfe250500
commit f231b71743
6 changed files with 29 additions and 22 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ hsaKmtSetMemoryPolicy(
args.alternate_aperture_base = (uintptr_t)MemoryAddressAlternate;
args.alternate_aperture_size = MemorySizeInBytes;
int err = kfd_ioctl(KFD_IOC_SET_MEMORY_POLICY, &args);
int err = kfd_ioctl(AMDKFD_IOC_SET_MEMORY_POLICY, &args);
return (err == -1) ? HSAKMT_STATUS_ERROR : HSAKMT_STATUS_SUCCESS;
}