• Home
  • Raw
  • Download

Lines Matching refs:AMDGPUDeviceInfo

16   mHWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities);  in AMDGPUDevice()
17 mSWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUDevice()
37 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) { in getMaxNumCBs()
45 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) { in getMaxCBSize()
61 mSWBits.set(AMDGPUDeviceInfo::HalfOps); in setCaps()
62 mSWBits.set(AMDGPUDeviceInfo::ByteOps); in setCaps()
63 mSWBits.set(AMDGPUDeviceInfo::ShortOps); in setCaps()
64 mSWBits.set(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
65 if (mSTM->isOverride(AMDGPUDeviceInfo::NoInline)) { in setCaps()
66 mSWBits.set(AMDGPUDeviceInfo::NoInline); in setCaps()
68 if (mSTM->isOverride(AMDGPUDeviceInfo::MacroDB)) { in setCaps()
69 mSWBits.set(AMDGPUDeviceInfo::MacroDB); in setCaps()
71 if (mSTM->isOverride(AMDGPUDeviceInfo::Debug)) { in setCaps()
72 mSWBits.set(AMDGPUDeviceInfo::ConstantMem); in setCaps()
74 mHWBits.set(AMDGPUDeviceInfo::ConstantMem); in setCaps()
76 if (mSTM->isOverride(AMDGPUDeviceInfo::Debug)) { in setCaps()
77 mSWBits.set(AMDGPUDeviceInfo::PrivateMem); in setCaps()
79 mHWBits.set(AMDGPUDeviceInfo::PrivateMem); in setCaps()
81 if (mSTM->isOverride(AMDGPUDeviceInfo::BarrierDetect)) { in setCaps()
82 mSWBits.set(AMDGPUDeviceInfo::BarrierDetect); in setCaps()
84 mSWBits.set(AMDGPUDeviceInfo::ByteLDSOps); in setCaps()
85 mSWBits.set(AMDGPUDeviceInfo::LongOps); in setCaps()
88 AMDGPUDeviceInfo::ExecutionMode
89 AMDGPUDevice::getExecutionMode(AMDGPUDeviceInfo::Caps Caps) const { in getExecutionMode()
92 return AMDGPUDeviceInfo::Hardware; in getExecutionMode()
97 return AMDGPUDeviceInfo::Software; in getExecutionMode()
100 return AMDGPUDeviceInfo::Unsupported; in getExecutionMode()
104 bool AMDGPUDevice::isSupported(AMDGPUDeviceInfo::Caps Mode) const { in isSupported()
105 return getExecutionMode(Mode) != AMDGPUDeviceInfo::Unsupported; in isSupported()
108 bool AMDGPUDevice::usesHardware(AMDGPUDeviceInfo::Caps Mode) const { in usesHardware()
109 return getExecutionMode(Mode) == AMDGPUDeviceInfo::Hardware; in usesHardware()
112 bool AMDGPUDevice::usesSoftware(AMDGPUDeviceInfo::Caps Mode) const { in usesSoftware()
113 return getExecutionMode(Mode) == AMDGPUDeviceInfo::Software; in usesSoftware()
127 if (usesHardware(AMDGPUDeviceInfo::DoubleOps)) { in getDataLayout()