SWDEV-306207 - clean up CL definition in ROCclr
Change-Id: I92e2c7c63ebddd119df390784e372ab2f42f3b0d
이 커밋은 다음에 포함됨:
1 부모
be164ed9ba
커밋
90b0e8430a
5 파일이 변경됨
+25
-25
검색과 일치하는 파일 없음
@@ -493,7 +493,7 @@ void NullDevice::fillDeviceInfo(const CALdeviceattribs& calAttr, const gslMemInf
|
||||
|
||||
// Image support fields
|
||||
if (settings().imageSupport_) {
|
||||
info_.imageSupport_ = CL_TRUE;
|
||||
info_.imageSupport_ = true;
|
||||
info_.maxSamplers_ = MaxSamplers;
|
||||
info_.maxReadImageArgs_ = MaxReadImage;
|
||||
info_.maxWriteImageArgs_ = MaxWriteImage;
|
||||
@@ -506,21 +506,21 @@ void NullDevice::fillDeviceInfo(const CALdeviceattribs& calAttr, const gslMemInf
|
||||
info_.imagePitchAlignment_ = 256; // XXX: 256 pixel pitch alignment for now
|
||||
info_.imageBaseAddressAlignment_ = 256; // XXX: 256 byte base address alignment for now
|
||||
|
||||
info_.bufferFromImageSupport_ = CL_TRUE;
|
||||
info_.bufferFromImageSupport_ = true;
|
||||
}
|
||||
|
||||
info_.errorCorrectionSupport_ = CL_FALSE;
|
||||
info_.errorCorrectionSupport_ = false;
|
||||
|
||||
if (settings().apuSystem_) {
|
||||
info_.hostUnifiedMemory_ = CL_TRUE;
|
||||
info_.hostUnifiedMemory_ = true;
|
||||
}
|
||||
|
||||
info_.profilingTimerResolution_ = 1;
|
||||
info_.profilingTimerOffset_ = amd::Os::offsetToEpochNanos();
|
||||
info_.littleEndian_ = CL_TRUE;
|
||||
info_.available_ = CL_TRUE;
|
||||
info_.compilerAvailable_ = CL_TRUE;
|
||||
info_.linkerAvailable_ = CL_TRUE;
|
||||
info_.littleEndian_ = true;
|
||||
info_.available_ = true;
|
||||
info_.compilerAvailable_ = true;
|
||||
info_.linkerAvailable_ = true;
|
||||
|
||||
info_.executionCapabilities_ = CL_EXEC_KERNEL;
|
||||
info_.preferredPlatformAtomicAlignment_ = 0;
|
||||
|
||||
새 이슈에서 참조
사용자 차단