/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_write_1D.cpp | 103 float *inputValues = NULL; in test_write_image_1D() local 107 inputValues = (float *)(char*)imageValues; in test_write_image_1D() 111 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_1D() 116 inputValues = (float *)(char*)imageValues; in test_write_image_1D() 120 inputValues[ i++ ] = -0.5f; in test_write_image_1D() 121 inputValues[ i++ ] = 0.5f; in test_write_image_1D() 122 inputValues[ i++ ] = 2.f; in test_write_image_1D() 123 inputValues[ i++ ] = 0.5f; in test_write_image_1D() 130 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_1D() 131 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_1D() [all …]
|
D | test_write_1D_array.cpp | 117 float *inputValues = (float *)(char*)imageValues + y * imageInfo->width * 4; in test_write_image_1D_array() local 121 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_1D_array() 126 float *inputValues = (float *)(char*)imageValues; in test_write_image_1D_array() local 130 inputValues[ i++ ] = -0.5f; in test_write_image_1D_array() 131 inputValues[ i++ ] = 0.5f; in test_write_image_1D_array() 132 inputValues[ i++ ] = 2.f; in test_write_image_1D_array() 133 inputValues[ i++ ] = 0.5f; in test_write_image_1D_array() 140 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_1D_array() 141 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_1D_array() 142 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_1D_array() [all …]
|
D | test_write_3D.cpp | 145 …float *inputValues = (float *)(char*)imageValues + imageInfo->width * y * 4 + imageInfo->height * … in test_write_image_3D() local 149 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_3D() 155 float *inputValues = (float *)(char*)imageValues; in test_write_image_3D() local 159 inputValues[ i++ ] = -0.5f; in test_write_image_3D() 160 inputValues[ i++ ] = 0.5f; in test_write_image_3D() 161 inputValues[ i++ ] = 2.f; in test_write_image_3D() 162 inputValues[ i++ ] = 0.5f; in test_write_image_3D() 169 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_3D() 170 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_3D() 171 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_3D() [all …]
|
D | test_write_2D_array.cpp | 142 …float *inputValues = (float *)(char*)imageValues + imageInfo->width * y * 4 + imageInfo->height * … in test_write_image_2D_array() local 146 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_2D_array() 152 float *inputValues = (float *)(char*)imageValues; in test_write_image_2D_array() local 155 inputValues[ i++ ] = -0.5f; in test_write_image_2D_array() 156 inputValues[ i++ ] = 0.5f; in test_write_image_2D_array() 157 inputValues[ i++ ] = 2.f; in test_write_image_2D_array() 158 inputValues[ i++ ] = 0.5f; in test_write_image_2D_array() 165 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_2D_array() 166 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_2D_array() 167 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_2D_array() [all …]
|
D | test_write_image.cpp | 138 float *inputValues = (float *)(char*)imageValues + imageInfo->width * y * 4; in test_write_image() local 142 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image() 147 float *inputValues = (float *)(char*)imageValues; in test_write_image() local 151 inputValues[ i++ ] = -0.5f; in test_write_image() 152 inputValues[ i++ ] = 0.5f; in test_write_image() 153 inputValues[ i++ ] = 2.0f; in test_write_image() 154 inputValues[ i++ ] = 0.5f; in test_write_image() 161 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image() 162 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image() 163 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderFConvertTests.cpp | 549 auto& inputValues = InputGenerator::getInstance().getInputValues16(); in iterate() local 550 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vectorL… in iterate() 554 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vector… in iterate() 557 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vector… in iterate() 563 inputMemory = packFloats(inputValues, m_params.vectorLength); in iterate() 569 auto& inputValues = InputGenerator::getInstance().getInputValues32(); in iterate() local 570 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vectorL… in iterate() 574 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vector… in iterate() 577 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vector… in iterate() 583 inputMemory = packFloats(inputValues, m_params.vectorLength); in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 157 std::vector<deUint32> inputValues (m_numValues); in iterate() local 162 for (int ndx = 0; ndx < (int)inputValues.size(); ndx++) in iterate() 163 inputValues[ndx] = rnd.getUint32(); in iterate() 187 for (deUint32 ndx = 0; ndx < de::min(valueInfo.arraySize, (deUint32)inputValues.size()); ndx++) in iterate() 188 …t32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValues[ndx]; in iterate() 219 TCU_CHECK(valueInfo.arraySize == (deUint32)inputValues.size()); in iterate() 223 const deUint32 ref = ~inputValues[ndx]; in iterate() 279 std::vector<deUint32> inputValues (m_numValues); in iterate() local 284 for (int ndx = 0; ndx < (int)inputValues.size(); ndx++) in iterate() 285 inputValues[ndx] = rnd.getUint32(); in iterate() [all …]
|
/external/deqp/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/undef/ |
D | undefined_constant_composite.amber | 34 ; } inputValues; 46 ; outputValues.array[idx] = add_second(inputValues.array[idx], constant_pair); 64 OpDecorate %inputValues DescriptorSet 0 65 OpDecorate %inputValues Binding 0 89 %inputValues = OpVariable %_ptr_Uniform_InputBlock Uniform 102 %input_value_ptr = OpAccessChain %_ptr_Uniform_int %inputValues %int_0 %gidx
|
D | undefined_spec_constant_composite.amber | 38 ; } inputValues; 50 ; outputValues.array[idx] = add_first_and_second(inputValues.array[idx], spec_constant_pair… 68 OpDecorate %inputValues DescriptorSet 0 69 OpDecorate %inputValues Binding 0 94 %inputValues = OpVariable %_ptr_Uniform_InputBlock Uniform 111 %input_value_ptr = OpAccessChain %_ptr_Uniform_int %inputValues %int_0 %gidx
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3239 float *inputValues = (float *)data; in create_random_image_data() local 3248 inputValues[i++] = 0.f; in create_random_image_data() 3249 inputValues[i++] = 1.f; in create_random_image_data() 3250 inputValues[i++] = -1.f; in create_random_image_data() 3251 inputValues[i++] = 2.f; in create_random_image_data() 3253 inputValues[i] = get_random_float(-HALF_MAX - 2.f, in create_random_image_data() 3262 inputValues[i++] = INFINITY; in create_random_image_data() 3263 inputValues[i++] = 0x1.0p14f; in create_random_image_data() 3264 inputValues[i++] = 0x1.0p31f; in create_random_image_data() 3265 inputValues[i++] = 0x1.0p32f; in create_random_image_data() [all …]
|
/external/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | decoder_test.js | 112 var inputValues = []; 118 inputValues.push(val); 125 inputValues.push(val); 138 for (var i = 0; i < inputValues.length; i++) { 139 assertEquals(inputValues[i], readValue.call(decoder));
|
D | reader_test.js | 264 var inputValues = []; 270 inputValues.push({ 280 inputValues.push({ 309 for (var i = 0; i < inputValues.length; i++) { 310 var expected = inputValues[i];
|
/external/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | decoder_test.js | 112 var inputValues = []; 118 inputValues.push(val); 125 inputValues.push(val); 138 for (var i = 0; i < inputValues.length; i++) { 139 assertEquals(inputValues[i], readValue.call(decoder));
|
D | reader_test.js | 264 var inputValues = []; 270 inputValues.push({ 280 inputValues.push({ 309 for (var i = 0; i < inputValues.length; i++) { 310 var expected = inputValues[i];
|
/external/protobuf/js/binary/ |
D | decoder_test.js | 112 var inputValues = []; 118 inputValues.push(val); 125 inputValues.push(val); 138 for (var i = 0; i < inputValues.length; i++) { 139 assertEquals(inputValues[i], readValue.call(decoder));
|
D | reader_test.js | 264 var inputValues = []; 270 inputValues.push({ 280 inputValues.push({ 309 for (var i = 0; i < inputValues.length; i++) { 310 var expected = inputValues[i];
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 176 const deUint32* inputValues = reinterpret_cast<deUint32*>(&inputBytes.front()); in compareWithRetvals() local 182 if (!compareRetVals<OpAtomic>(inputValues, inputValuesCount, resultValue, values)) in compareWithRetvals() 206 …static bool compareRetVals (const deUint32* inputValues, const size_t inputValuesCount, const deUi… in compareRetVals() argument 228 case OPATOMIC_IADD: previousResult -= inputValues[ndx]; break; in compareRetVals() 229 case OPATOMIC_ISUB: previousResult += inputValues[ndx]; break; in compareRetVals()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/EDSC/ |
D | Builders.cpp | 47 SmallVector<Value, 4> inputValues, outputBufferValues, initTensorValues; in makeGenericLinalgOp() local 48 inputValues.reserve(inputs.size()); in makeGenericLinalgOp() 51 std::copy(inputs.begin(), inputs.end(), std::back_inserter(inputValues)); in makeGenericLinalgOp() 65 inputValues, in makeGenericLinalgOp()
|
/external/deqp/external/vulkancts/modules/vulkan/memory_model/ |
D | vktMemoryModelPadding.cpp | 252 BufferStructure inputValues {kA, kB, kC, kInputPaddingByte}; in iterate() local 261 deMemcpy(inputBufferPtr, &inputValues, sizeof(inputValues)); in iterate()
|
/external/angle/src/tests/gl_tests/ |
D | ComputeShaderTest.cpp | 488 GLuint inputValues[] = {200}; in TEST_P() local 493 inputValues); in TEST_P() 498 inputValues); in TEST_P() 558 GLuint inputValues[] = {200}; in TEST_P() local 563 inputValues); in TEST_P() 568 inputValues); in TEST_P() 642 GLuint inputValues[kWidth][kHeight] = {}; in TEST_P() local 653 inputValues); in TEST_P() 737 const std::vector<GLuint> inputValues(kWidth * kHeight, 0); in TEST_P() local 743 inputValues.data()); in TEST_P() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 982 …ibuteDescription> getVertexAttributeDescriptions (const vector<Value>& inputValues, const ValueBuf… in getVertexAttributeDescriptions() argument 1000 for (size_t inputNdx = 0; inputNdx < inputValues.size(); inputNdx++) in getVertexAttributeDescriptions() 1002 const Value& input = inputValues[inputNdx]; in getVertexAttributeDescriptions() 1034 const vector<Value>& inputValues, in createPipeline() argument 1047 …tributeDescription> vertexAttribParams (getVertexAttributeDescriptions(inputValues, inputLayout)); in createPipeline() 1068 (inputValues.empty() ? 1u : 2u), // bindingCount in createPipeline()
|