Git Product home page Git Product logo

Comments (3)

dneto0 avatar dneto0 commented on April 28, 2024

I don't get the same results as you.

I have the ARM compute library at commit db0e610fa90a4c7c534049792ee7fe143d46f72f

Convolution layer:

It compiles for me, but does not validate. Validation error is:

info: 172: Duplicate non-aggregate type declarations are not allowed. Opcode: 21 error: 1251: The Object type (OpTypePointer) in OpCompositeInsert does not match the type that results from indexing into the Composite (OpTypeRuntimeArray).

Normalization layer:

Asserts out around line 835 of ReplacePointerBitcastPass.cpp.

The offending instruction is %12 = bitcast i8 addrspace(1)* %.elt to float addrspace(1)*
That actually occurs twice, once in normalization_layer_cross_map, and another time in normalization_layer_in_map_1D.

Tracing the *map_1D case, there is a vload4 from a pointer derived from the input argument, which is declared as a TENSOR3D_DECLARATION. In helpers.h that's defined as:

#define TENSOR3D_DECLARATION(name)   \
    __global uchar *name##_ptr,      \
    uint        name##_stride_x, \
    uint        name##_step_x,   \
    uint        name##_stride_y, \
    uint        name##_step_y,   \
    uint        name##_stride_z, \
    uint        name##_step_z,   \
    uint        name##_offset_first_element_in_bytes

The problem is that the base pointer is a pointer-to-uchar.

Vulkan does not support 8-bit loads and stores. Loads and stores to 16bit types are only supported by the new VK_KHR_16bit_storage extension.

I'll mark this as "Invalid" since Clspv can't generate functioning code anyway. But I will grant that the error message is TERRIBLE.

from clspv.

dneto0 avatar dneto0 commented on April 28, 2024

I filed #13 for improving error messages.

from clspv.

dneto0 avatar dneto0 commented on April 28, 2024

Closing in favour of the narrower but still valid #14

from clspv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.