Skip to content

Commit

Permalink
break CUDA to confirm test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Nov 26, 2023
1 parent 971f874 commit 95eb8c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
cd ctypeslib
pip install .
clang2py -V
- name: Generate headers
- name: Generate headers and confirm they match
run: |
mv gpuctypes/${{ matrix.task }}.py gpuctypes/${{ matrix.task }}.py.bak
./generate_${{ matrix.task }}.sh
diff gpuctypes/${{ matrix.task }}.py.bak gpuctypes/${{ matrix.task }}.py || true
diff gpuctypes/${{ matrix.task }}.py.bak gpuctypes/${{ matrix.task }}.py
- name: Install gpuctypes
run: pip install .
- name: Test gpuctypes import
Expand Down
4 changes: 4 additions & 0 deletions gpuctypes/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ class struct_CUstreamMemOpFlushRemoteWritesParams_st(Structure):
CUfilter_mode = CUfilter_mode_enum
CUfilter_mode__enumvalues = CUfilter_mode_enum__enumvalues


BROKEN


# values for enumeration 'CUdevice_attribute_enum'
CUdevice_attribute_enum__enumvalues = {
1: 'CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK',
Expand Down

0 comments on commit 95eb8c5

Please sign in to comment.