/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
D | glcSubgroupsVoteTests.cpp | 92 std::string getOpTypeName(int opType) in getOpTypeName() argument 94 switch (opType) in getOpTypeName() 110 int opType; member 138 (OPTYPE_ALL == caseDef.opType) ? in initFrameBufferPrograms() 139 " result = " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms() 141 " result |= " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms() 144 : (OPTYPE_ANY == caseDef.opType) ? in initFrameBufferPrograms() 145 " result = " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms() 147 " result |= " + getOpTypeName(caseDef.opType) + in initFrameBufferPrograms() 150 : (OPTYPE_ALLEQUAL == caseDef.opType) ? in initFrameBufferPrograms() [all …]
|
D | glcSubgroupsQuadTests.cpp | 63 std::string getOpTypeName(int opType) in getOpTypeName() argument 65 switch (opType) in getOpTypeName() 83 int opType; member 119 << swapTable[caseDef.opType]; in initFrameBufferPrograms() 121 if (OPTYPE_QUAD_BROADCAST == caseDef.opType) in initFrameBufferPrograms() 124 …<< getOpTypeName(caseDef.opType) << "(data[gl_SubgroupInvocationID], " << caseDef.direction << "u)… in initFrameBufferPrograms() 130 << getOpTypeName(caseDef.opType) << "(data[gl_SubgroupInvocationID]);\n" in initFrameBufferPrograms() 165 << swapTable[caseDef.opType]; in initFrameBufferPrograms() 167 if (OPTYPE_QUAD_BROADCAST == caseDef.opType) in initFrameBufferPrograms() 170 …<< getOpTypeName(caseDef.opType) << "(data[gl_SubgroupInvocationID], " << caseDef.direction << "u)… in initFrameBufferPrograms() [all …]
|
D | glcSubgroupsPartitionedTests.cpp | 80 std::string getOpTypeName(int opType) in getOpTypeName() argument 82 switch (opType) in getOpTypeName() 132 std::string getOpTypeNamePartitioned(int opType) in getOpTypeNamePartitioned() argument 134 switch (opType) in getOpTypeNamePartitioned() 184 std::string getIdentity(int opType, Format format) in getIdentity() argument 224 switch (opType) in getIdentity() 292 std::string getCompare(int opType, Format format, std::string lhs, std::string rhs) in getCompare() argument 305 switch (opType) in getCompare() 323 switch (opType) in getCompare() 340 int opType; member [all …]
|
D | glcSubgroupsArithmeticTests.cpp | 80 std::string getOpTypeName(int opType) in getOpTypeName() argument 82 switch (opType) in getOpTypeName() 132 std::string getOpTypeOperation(int opType, Format format, std::string lhs, std::string rhs) in getOpTypeOperation() argument 134 switch (opType) in getOpTypeOperation() 234 std::string getIdentity(int opType, Format format) in getIdentity() argument 274 switch (opType) in getIdentity() 342 std::string getCompare(int opType, Format format, std::string lhs, std::string rhs) in getCompare() argument 355 switch (opType) in getCompare() 373 switch (opType) in getCompare() 390 int opType; member [all …]
|
D | glcSubgroupsBasicTests.cpp | 215 std::string getOpTypeName(int opType) in getOpTypeName() argument 217 switch (opType) in getOpTypeName() 239 int opType; member 274 if (OPTYPE_ELECT == caseDef.opType) in initFrameBufferPrograms() 432 switch (caseDef.opType) in initFrameBufferPrograms() 451 << " " << getOpTypeName(caseDef.opType) << "();\n"; in initFrameBufferPrograms() 488 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms() 528 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms() 568 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms() 624 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(binding = 0, r32ui) readonly … in initFrameBufferPrograms() [all …]
|
D | glcSubgroupsShapeTests.cpp | 61 std::string getOpTypeName(int opType) in getOpTypeName() argument 63 switch (opType) in getOpTypeName() 77 int opType; member 84 std::string extension = (OPTYPE_CLUSTERED == caseDef.opType) ? in initFrameBufferPrograms() 98 if (OPTYPE_CLUSTERED == caseDef.opType) in initFrameBufferPrograms() 234 std::string extension = (OPTYPE_CLUSTERED == caseDef.opType) ? in initPrograms() 245 if (OPTYPE_CLUSTERED == caseDef.opType) in initPrograms() 437 if (OPTYPE_CLUSTERED == caseDef.opType) in supportedCheck() 445 if (OPTYPE_QUAD == caseDef.opType) in supportedCheck()
|
D | glcSubgroupsClusteredTests.cpp | 66 std::string getOpTypeName(int opType) in getOpTypeName() argument 68 switch (opType) in getOpTypeName() 90 std::string getOpTypeOperation(int opType, Format format, std::string lhs, std::string rhs) in getOpTypeOperation() argument 92 switch (opType) in getOpTypeOperation() 178 std::string getIdentity(int opType, Format format) in getIdentity() argument 218 switch (opType) in getIdentity() 272 std::string getCompare(int opType, Format format, std::string lhs, std::string rhs) in getCompare() argument 285 switch (opType) in getCompare() 299 switch (opType) in getCompare() 312 int opType; member [all …]
|
D | glcSubgroupsShuffleTests.cpp | 63 std::string getOpTypeName(int opType) in getOpTypeName() argument 65 switch (opType) in getOpTypeName() 83 int opType; member 120 + getOpTypeName(caseDef.opType) + "(data1[gl_SubgroupInvocationID], id_in);\n" in TestSource() 121 " uint id = " + idTable[caseDef.opType] + ";\n" in TestSource() 142 (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) ? in initFrameBufferPrograms() 278 (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) ? in initPrograms() 429 switch (caseDef.opType) in supportedCheck() 498 switch (caseDef.opType) in test()
|
D | glcSubgroupsBallotOtherTests.cpp | 66 std::string getOpTypeName(int opType) in getOpTypeName() argument 68 switch (opType) in getOpTypeName() 92 int opType; member 114 switch (caseDef.opType) in getBodySource()
|
D | glcSubgroupsBallotBroadcastTests.cpp | 61 std::string getOpTypeName(int opType) in getOpTypeName() argument 63 switch (opType) in getOpTypeName() 77 int opType; member 89 if (OPTYPE_BROADCAST == caseDef.opType) in getBodySource()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsVoteTests.cpp | 53 OpType opType; member 116 string getOpTypeName (int opType) in getOpTypeName() argument 118 switch (opType) in getOpTypeName() 147 const string op = getOpTypeName(caseDef.opType); in getStageTestSource() 154 (OPTYPE_ALL == caseDef.opType || OPTYPE_ALL_ARB == caseDef.opType) ? in getStageTestSource() 158 : (OPTYPE_ANY == caseDef.opType || OPTYPE_ANY_ARB == caseDef.opType) ? in getStageTestSource() 162 : (OPTYPE_ALLEQUAL == caseDef.opType || OPTYPE_ALLEQUAL_ARB == caseDef.opType) ? in getStageTestSource() 180 const bool arbFunctions = caseDef.opType > OPTYPE_LAST_NON_ARB; in initFrameBufferPrograms() 190 const string op = getOpTypeName(caseDef.opType); in getStageTestSourceFrag() 194 (OPTYPE_ALL == caseDef.opType || OPTYPE_ALL_ARB == caseDef.opType) ? in getStageTestSourceFrag() [all …]
|
D | vktSubgroupsQuadTests.cpp | 51 OpType opType; member 79 string getOpTypeName (OpType opType) in getOpTypeName() argument 81 switch (opType) in getOpTypeName() 92 string getOpTypeCaseName (OpType opType) in getOpTypeCaseName() argument 94 switch (opType) in getOpTypeCaseName() 126 const string op = getOpTypeName(caseDef.opType); in getTestSrc() 130 << swapTable[caseDef.opType] in getTestSrc() 133 if (caseDef.opType == OPTYPE_QUAD_BROADCAST) in getTestSrc() 144 else if (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) in getTestSrc() 182 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? SPIRV_VER… in initFrameBufferPrograms() [all …]
|
D | vktSubgroupsBasicTests.cpp | 52 OpType opType; member 323 string getOpTypeName (OpType opType) in getOpTypeName() argument 325 switch (opType) in getOpTypeName() 466 if (OPTYPE_ELECT == caseDef.opType) in initFrameBufferPrograms() 1131 switch (caseDef.opType) in initFrameBufferPrograms() 1147 << " " << getOpTypeName(caseDef.opType) << "();\n"; in initFrameBufferPrograms() 1187 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms() 1229 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms() 1270 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms() 1328 …<< (OPTYPE_SUBGROUP_MEMORY_BARRIER_IMAGE == caseDef.opType ? "layout(set = 0, binding = 2, r32ui) … in initFrameBufferPrograms() [all …]
|
D | vktSubgroupsShuffleTests.cpp | 50 OpType opType; member 78 string getOpTypeName (OpType opType) in getOpTypeName() argument 80 switch (opType) in getOpTypeName() 92 const string eSource = (OPTYPE_SHUFFLE == caseDef.opType || OPTYPE_SHUFFLE_XOR == caseDef.opType) in getExtHeader() 170 const string id = caseDef.opType == OPTYPE_SHUFFLE ? "id_in" in getTestSource() 171 : caseDef.opType == OPTYPE_SHUFFLE_XOR ? "gl_SubgroupInvocationID ^ id_in" in getTestSource() 172 : caseDef.opType == OPTYPE_SHUFFLE_UP ? "gl_SubgroupInvocationID - id_in" in getTestSource() 173 : caseDef.opType == OPTYPE_SHUFFLE_DOWN ? "gl_SubgroupInvocationID + id_in" in getTestSource() 180 + getOpTypeName(caseDef.opType) + "(data1[gl_SubgroupInvocationID], id_in);\n" in getTestSource() 223 switch (caseDef.opType) in supportedCheck() [all …]
|
D | vktSubgroupsBallotBroadcastTests.cpp | 49 OpType opType; member 79 string getOpTypeCaseName (OpType opType) in getOpTypeCaseName() argument 81 switch (opType) in getOpTypeCaseName() 136 if (caseDef.opType == OPTYPE_BROADCAST) in getTestSrc() 153 else if (caseDef.opType == OPTYPE_BROADCAST_NONCONST) in getTestSrc() 172 else if (caseDef.opType == OPTYPE_BROADCAST_FIRST) in getTestSrc() 233 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_BROADCAST_NONCONST) ? SPIRV_VERSION_… in initFrameBufferPrograms() 244 const bool spirv15required = caseDef.opType == OPTYPE_BROADCAST_NONCONST; in initPrograms() 276 …if ((caseDef.opType == OPTYPE_BROADCAST_NONCONST) && !subgroups::isSubgroupBroadcastDynamicIdSuppo… in supportedCheck() 430 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsBallotBroadcastTests() local [all …]
|
D | vktSubgroupsShapeTests.cpp | 48 OpType opType; member 75 string getOpTypeName (const OpType opType) in getOpTypeName() argument 77 switch (opType) in getOpTypeName() 87 const string testExtensions = (OPTYPE_CLUSTERED == caseDef.opType) in getExtHeader() 103 if (OPTYPE_CLUSTERED == caseDef.opType) in getBodySource() 232 if (OPTYPE_CLUSTERED == caseDef.opType) in supportedCheck() 240 if (OPTYPE_QUAD == caseDef.opType) in supportedCheck() 357 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsShapeTests() local 358 const string op = de::toLower(getOpTypeName(opType)); in createSubgroupsShapeTests() 366 opType, // OpType opType; in createSubgroupsShapeTests() [all …]
|
D | vktSubgroupsBallotOtherTests.cpp | 53 OpType opType; member 80 string getOpTypeName (OpType opType) in getOpTypeName() argument 82 switch (opType) in getOpTypeName() 162 switch (caseDef.opType) in getTestString() 420 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsBallotOtherTests() local 421 const string op = de::toLower(getOpTypeName(opType)); in createSubgroupsBallotOtherTests() 429 opType, // OpType opType; in createSubgroupsBallotOtherTests() 441 opType, // OpType opType; in createSubgroupsBallotOtherTests() 453 opType, // OpType opType; in createSubgroupsBallotOtherTests() 466 opType, // OpType opType; in createSubgroupsBallotOtherTests()
|
D | vktSubgroupsArithmeticTests.cpp | 76 static Operator getOperator (OpType opType) in getOperator() argument 78 switch (opType) in getOperator() 114 static ScanType getScanType(OpType opType) in getScanType() argument 116 switch (opType) in getScanType() 413 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsArithmeticTests() local 414 const Operator op = getOperator(opType); in createSubgroupsArithmeticTests() 415 const ScanType st = getScanType(opType); in createSubgroupsArithmeticTests() 490 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsArithmeticTests() local 491 const Operator op = getOperator(opType); in createSubgroupsArithmeticTests() 492 const ScanType st = getScanType(opType); in createSubgroupsArithmeticTests()
|
D | vktSubgroupsPartitionedTests.cpp | 77 static Operator getOperator (OpType opType) in getOperator() argument 79 switch (opType) in getOperator() 115 static ScanType getScanType (OpType opType) in getScanType() argument 117 switch (opType) in getScanType() 464 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsPartitionedTests() local 465 const Operator op = getOperator(opType); in createSubgroupsPartitionedTests() 466 const ScanType st = getScanType(opType); in createSubgroupsPartitionedTests() 541 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsPartitionedTests() local 542 const Operator op = getOperator(opType); in createSubgroupsPartitionedTests() 543 const ScanType st = getScanType(opType); in createSubgroupsPartitionedTests()
|
D | vktSubgroupsClusteredTests.cpp | 61 static Operator getOperator (OpType opType) in getOperator() argument 63 switch (opType) in getOperator() 340 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsClusteredTests() local 341 const Operator op = getOperator(opType); in createSubgroupsClusteredTests() 413 const OpType opType = static_cast<OpType>(opTypeIndex); in createSubgroupsClusteredTests() local 414 const Operator op = getOperator(opType); in createSubgroupsClusteredTests()
|
/third_party/icu/icu4c/source/i18n/ |
D | regexcmp.cpp | 2032 int32_t opType = URX_TYPE(op); in insertOp() local 2034 if ((opType == URX_JMP || in insertOp() 2035 opType == URX_JMPX || in insertOp() 2036 opType == URX_STATE_SAVE || in insertOp() 2037 opType == URX_CTR_LOOP || in insertOp() 2038 opType == URX_CTR_LOOP_NG || in insertOp() 2039 opType == URX_JMP_SAV || in insertOp() 2040 opType == URX_JMP_SAV_X || in insertOp() 2041 opType == URX_RELOC_OPRND) && opValue > where) { in insertOp() 2045 op = buildOp(opType, opValue); in insertOp() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | regexcmp.cpp | 2030 int32_t opType = URX_TYPE(op); in insertOp() local 2032 if ((opType == URX_JMP || in insertOp() 2033 opType == URX_JMPX || in insertOp() 2034 opType == URX_STATE_SAVE || in insertOp() 2035 opType == URX_CTR_LOOP || in insertOp() 2036 opType == URX_CTR_LOOP_NG || in insertOp() 2037 opType == URX_JMP_SAV || in insertOp() 2038 opType == URX_JMP_SAV_X || in insertOp() 2039 opType == URX_RELOC_OPRND) && opValue > where) { in insertOp() 2043 op = buildOp(opType, opValue); in insertOp() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | regexcmp.cpp | 2032 int32_t opType = URX_TYPE(op); in insertOp() local 2034 if ((opType == URX_JMP || in insertOp() 2035 opType == URX_JMPX || in insertOp() 2036 opType == URX_STATE_SAVE || in insertOp() 2037 opType == URX_CTR_LOOP || in insertOp() 2038 opType == URX_CTR_LOOP_NG || in insertOp() 2039 opType == URX_JMP_SAV || in insertOp() 2040 opType == URX_JMP_SAV_X || in insertOp() 2041 opType == URX_RELOC_OPRND) && opValue > where) { in insertOp() 2045 op = buildOp(opType, opValue); in insertOp() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | regexcmp.cpp | 2022 int32_t opType = URX_TYPE(op); in insertOp() local 2024 if ((opType == URX_JMP || in insertOp() 2025 opType == URX_JMPX || in insertOp() 2026 opType == URX_STATE_SAVE || in insertOp() 2027 opType == URX_CTR_LOOP || in insertOp() 2028 opType == URX_CTR_LOOP_NG || in insertOp() 2029 opType == URX_JMP_SAV || in insertOp() 2030 opType == URX_JMP_SAV_X || in insertOp() 2031 opType == URX_RELOC_OPRND) && opValue > where) { in insertOp() 2035 op = buildOp(opType, opValue); in insertOp() [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/ |
D | cc_implementations.cc | 75 bool IsSignedIntOverflow(T x, T y, OpType opType) { in IsSignedIntOverflow() argument 79 if (opType == OpType::ADD) { in IsSignedIntOverflow() 83 if (opType == OpType::SUB) { in IsSignedIntOverflow() 87 if (opType == OpType::MUL) { in IsSignedIntOverflow() 91 if (opType == OpType::DIV || opType == OpType::MOD) { in IsSignedIntOverflow()
|