-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tigre could not compile under CUDA 12.0 #427
Comments
Indeed, I am aware of this, but thanks for opening an issue. Both are solvable issues. 1- setup.py (and the equivalent Compile.m) both already do modify the compilation flags given the CUDA selected. These functions need to be simply updated to account for CUDA 12. I will try to find time to do these, but can't promise to fix them anytime "soon". |
I have now updated master to have CUDA 12 support, but I don't have the capability to test it. I someone does, please let me know. |
tested and working. |
Hi Ander,
Sorry for my late reply and thanks for fixing the issue. I have test it on my laptop, and it works. I noticed the following warnings when compiling:
############################
# Package would be ignored #
############################
Python recognizes 'tigre.utilities.cuda_interface' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'tigre.utilities.cuda_interface' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'tigre.utilities.cuda_interface' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
Otherwise, all looks OK.
Regards,
Yi
From: Biguri ***@***.***>
Sent: Friday, 5 May 2023 1:12 AM
To: CERN/TIGRE ***@***.***>
Cc: Liu, Yi (Mineral Resources, Lucas Heights) ***@***.***>; Author ***@***.***>
Subject: Re: [CERN/TIGRE] Tigre could not compile under CUDA 12.0 (Issue #427)
tested and working.
—
Reply to this email directly, view it on GitHub<#427 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR6OBUJSCHYH2NHH3XNROJDXEPBNFANCNFSM6AAAAAAUNVPLTE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Fantastic! I think that warning is OK, as those files are just for compiling, so they don't need to be a package. |
Expected Behavior
Actual Behavior
Two issues:
(1) Need remove support for earlier GPU type "compute_37" to run setup.py
(2) Error compiling some *.cu code, for example
../Common/CUDA/ray_interpolated_projection_parallel.cu(70): error: texture is not a template
Looks like CUDA 12.0 does not support texture reference any more. See
https://forums.developer.nvidia.com/t/cuda-12-0-still-support-for-texture-reference-support-for-pascal-architecture-warp-synchronous-programming/237284
Code to reproduce the problem (If applicable)
python setup.py install
Specifications
python version: 3.9.13
The text was updated successfully, but these errors were encountered: