Comments (4)
Agreed, thanks for pointing this out. The intention here is that desc->pConstants
is optional and nullptr
should be an acceptable input. I'm working with our spec team to get the documentation updated, and we will post a fix to the validation layer soon. In the meantime, if you disable validation layer (or modify the code locally), passing nullptr
for pConstants
should work
from level-zero.
Yes, for now I use an empty ze_module_constants_t.
As far as the second issue is concerned (the check on the enum value), I have found several other instances where the test should be strict inequality <
rather than <=
, so the logic used to generate those seems problematic.
from level-zero.
Agreed that is an issue in multiple places. Another issue is that some flag fields are validated incorrectly. We will have a fix for this in the near future.
from level-zero.
These specific issues seem to have been fixed, I'll be closing this one to de-clutter.
from level-zero.
Related Issues (20)
- Build is broken with CMAKE_INCLUDE_CURRENT_DIR=ON HOT 1
- Linux driver i915 SVM support required to run on vanilla kernel? Upstreaming status? HOT 4
- Create Global Sysman API to collect GPU dump (logs)
- Debug GPU assembly of level zero kernels HOT 5
- RAS counter information is inadequate HOT 1
- Provide defines for build-time (header) version checks HOT 7
- Remove "Core device properties" from "Sysman Device Properties" structure HOT 3
- Remove COVFILE from release for v1.10.0 HOT 3
- Provide CMake config file HOT 2
- device show unknown with sysmon HOT 2
- Provide "dummy" backend for unit-testing application's L0 API usage
- [Feature Request] Add equivalent of cudaDeviceSynchronize() HOT 3
- Parameter validation layer erroneously checks pCommandQueueGroupProperties HOT 3
- Document says "setting ZE_FLAT_DEVICE_HIERARCHY to 1" - error? HOT 1
- Loader throws access violation at exit during context destroy
- Potential problem with zeKernelSuggestGroupSize HOT 1
- libze_loader.so.1: cannot open shared object file: no such file or directory HOT 6
- Preferred abbreviation: ZE or L0? HOT 1
- [Error] Don't get kernel HOT 1
- v1.15.1: Debs Prefix/Install Paths Appear to Be Wrong in Release Artifacts HOT 7
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 level-zero.