Home | History | Annotate | Download | only in radeon

Lines Matching refs:AMDGPUDeviceInfo

16   mHWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities);
17 mSWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities);
41 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) {
50 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) {
69 mSWBits.set(AMDGPUDeviceInfo::HalfOps);
70 mSWBits.set(AMDGPUDeviceInfo::ByteOps);
71 mSWBits.set(AMDGPUDeviceInfo::ShortOps);
72 mSWBits.set(AMDGPUDeviceInfo::HW64BitDivMod);
73 if (mSTM->isOverride(AMDGPUDeviceInfo::NoInline)) {
74 mSWBits.set(AMDGPUDeviceInfo::NoInline);
76 if (mSTM->isOverride(AMDGPUDeviceInfo::MacroDB)) {
77 mSWBits.set(AMDGPUDeviceInfo::MacroDB);
79 if (mSTM->isOverride(AMDGPUDeviceInfo::Debug)) {
80 mSWBits.set(AMDGPUDeviceInfo::ConstantMem);
82 mHWBits.set(AMDGPUDeviceInfo::ConstantMem);
84 if (mSTM->isOverride(AMDGPUDeviceInfo::Debug)) {
85 mSWBits.set(AMDGPUDeviceInfo::PrivateMem);
87 mHWBits.set(AMDGPUDeviceInfo::PrivateMem);
89 if (mSTM->isOverride(AMDGPUDeviceInfo::BarrierDetect)) {
90 mSWBits.set(AMDGPUDeviceInfo::BarrierDetect);
92 mSWBits.set(AMDGPUDeviceInfo::ByteLDSOps);
93 mSWBits.set(AMDGPUDeviceInfo::LongOps);
96 AMDGPUDeviceInfo::ExecutionMode
97 AMDGPUDevice::getExecutionMode(AMDGPUDeviceInfo::Caps Caps) const
101 return AMDGPUDeviceInfo::Hardware;
106 return AMDGPUDeviceInfo::Software;
109 return AMDGPUDeviceInfo::Unsupported;
113 bool AMDGPUDevice::isSupported(AMDGPUDeviceInfo::Caps Mode) const
115 return getExecutionMode(Mode) != AMDGPUDeviceInfo::Unsupported;
118 bool AMDGPUDevice::usesHardware(AMDGPUDeviceInfo::Caps Mode) const
120 return getExecutionMode(Mode) == AMDGPUDeviceInfo::Hardware;
123 bool AMDGPUDevice::usesSoftware(AMDGPUDeviceInfo::Caps Mode) const
125 return getExecutionMode(Mode) == AMDGPUDeviceInfo::Software;