-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
g++ -Wall -g -o reproducerUnrecognizedOptions reproducerUnrecognizedOptions.cpp -lOpenCL
./reproducerUnrecognizedOptions
Intel OpenCL CPU Link Flags Corruption Reproducer
=================================================
Available platforms:
0: Intel(R) OpenCL Graphics (Intel(R) Corporation)
1: Intel(R) OpenCL Graphics (Intel(R) Corporation)
2: Intel(R) OpenCL (Intel(R) Corporation)
Selected for testing:
Platform: Intel(R) OpenCL
Device: 13th Gen Intel(R) Core(TM) i9-13900K
Vendor: Intel(R) Corporation
Intel CPU: YES
Testing different link flag scenarios:
======================================
1. Testing with '-cl-kernel-arg-info' flag:
FAILED: clLinkProgram returned error -67
Build log:
Linking failed
Unrecognized link options:
2. Testing with empty string flag:
SUCCESS: Linking completed
3. Testing with NULL flags:
SUCCESS: Linking completed
4. Testing with '-cl-std=CL3.0' flag:
FAILED: clLinkProgram returned error -67
Build log:
Linking failed
Unrecognized link options: 0B*d�V
=== REPRODUCER COMPLETED ===
If you see 'Unrecognized link options' with corrupted characters,
this confirms the Intel CPU OpenCL driver bug.
EXPECTED BEHAVIOR:
- NULL flags should work
- Empty string flags should work
- Valid flags should work or give meaningful error
BUG BEHAVIOR:
- Valid flags show corrupted characters in error message
- Error: 'Unrecognized link options: [garbage characters]'
- ```
Metadata
Metadata
Assignees
Labels
No labels