Comments (3)
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.
I filed #13 for improving error messages.
from clspv.
Closing in favour of the narrower but still valid #14
from clspv.
Related Issues (20)
- [Hashcat] Assertion in BitcastUtils.cpp - `i < NumUserOperands && "getOperand() out of range!"` HOT 1
- sampler using unnormalised coordinates and 3d images HOT 1
- Unsupported llvm intrinsic llvm.fshr.i32(i32, i32, i32) HOT 2
- UNREACHABLE executed at lib/BitcastUtils.cpp:1218 HOT 3
- UNREACHABLE executed at lib/BitcastUtils.cpp:1218 HOT 2
- Assertion `Ty && "Invalid GetElementPtrInst indices for type!"' failed HOT 6
- UNREACHABLE executed at lib/BitcastUtils.cpp:1272 HOT 5
- UNREACHABLE executed at lib/SPIRVProducerPass.cpp:2399 HOT 5
- UNREACHABLE executed at lib/LowerPrivatePointerPHIPass.cpp:207
- UNREACHABLE executed at lib/BitcastUtils.cpp:1237 HOT 5
- UNREACHABLE executed at lib/SPIRVProducerPass.cpp:2369 HOT 1
- UNREACHABLE executed at lib/SPIRVProducerPass.cpp:5028
- UNREACHABLE executed at lib/BitcastUtils.cpp:104 HOT 2
- incorrect execution for simple reduction sample HOT 5
- Segfaults when passing struct in global memory by value to a function. HOT 1
- Incorrectly warns about mixing code and declarations. HOT 9
- Q: how to trigger the use of uniform buffers. HOT 2
- clang generates definitions of sqrt
- Implement sampler mask using uniform buffer instead of push constant
- SimplifyPointerBitcast performs wrong simplification HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clspv.