Skip to content

Commit e94af3b

Browse files
authored
Merge pull request #25 from tbirdso/python-wrapping
BUG: Get complex types for conditional wrapping
2 parents a333a73 + 4b76eac commit e94af3b

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/build-test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ jobs:
284284
set PATH="C:\P\grep;%PATH%"
285285
set CC=cl.exe
286286
set CXX=cl.exe
287-
C:\Python3${{ matrix.python-version-minor }}-x64\python.exe C:\P\IPP\scripts\windows_build_module_wheels.py --py-envs "3${{ matrix.python-version-minor }}-x64" --no-cleanup -- "-DOpenCL_INCLUDE_DIR:PATH=${{ github.workspace}}/../OpenCL-ICD-Loader/inc" "-DOpenCL_LIBRARY:FILEPATH=${{ github.workspace}}/../OpenCL-ICD-Loader-build/OpenCL.lib"
287+
C:\Python3${{ matrix.python-version-minor }}-x64\python.exe C:\P\IPP\scripts\windows_build_module_wheels.py --py-envs "3${{ matrix.python-version-minor }}-x64" --no-cleanup --lib-paths="${{ github.workspace}}/../OpenCL-ICD-Loader-build" -- "-DOpenCL_INCLUDE_DIR:PATH=${{ github.workspace}}/../OpenCL-ICD-Loader/inc" "-DOpenCL_LIBRARY:FILEPATH=${{ github.workspace}}/../OpenCL-ICD-Loader-build/OpenCL.lib"
288288
shell: cmd
289289

290290
- name: Publish Python package as GitHub Artifact

.github/workflows/test-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
opencl-headers-git-tag: "v2021.04.29"
1313
opencl-version: 120
1414
vkfft-backend: 3
15-
itk-git-tag: "b1a0a91614dc091f9a17c1e4727095c80e9c05ea"
15+
itk-git-tag: "ddef776afb46a6e135ba3c9f58a0e6e7e4a000be"
1616
cmake-build-type: "MinSizeRel"
1717
platform-name: "ubuntu-nvidia-gpu"
1818
os: ubuntu-20.04

wrapping/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
set(ITK_WRAP_COMPLEX_FLOAT OFF)
2+
if("CF" IN_LIST WRAP_ITK_COMPLEX_REAL)
3+
set(ITK_WRAP_COMPLEX_FLOAT ON)
4+
endif()
5+
6+
set(ITK_WRAP_COMPLEX_DOUBLE OFF)
7+
if("CD" IN_LIST WRAP_ITK_COMPLEX_REAL)
8+
set(ITK_WRAP_COMPLEX_DOUBLE ON)
9+
endif()
10+
111
itk_wrap_module("VkFFTBackend")
212
itk_auto_load_submodules()
313
itk_end_wrap_module()

0 commit comments

Comments
 (0)