Skip to content
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

CUDA 11.7 support. #128

Open
xkszltl opened this issue May 23, 2022 · 3 comments · May be fixed by #133
Open

CUDA 11.7 support. #128

xkszltl opened this issue May 23, 2022 · 3 comments · May be fixed by #133

Comments

@xkszltl
Copy link

xkszltl commented May 23, 2022

When we install CUDA, we also pull in the corresponding samples and build them for testing.
CUDA 11.7 has been released for a while but we haven't seem the branch/tag here.
When will that be added?

Before nvidia stop packaging samples into deb/rpm, its release is in sync with CUDA itself.
Will it still be the case?

@JacobLiu001
Copy link

For windows users, a "workaround" is simply finding and replacing all 11.6 with 11.7 in the necessary .vcxproj files, and build each one individually.
If you want to build the solution found in the root directory you will need to do the above replacement for all of the .vcxproj files.

xkszltl added a commit to xkszltl/Roaster that referenced this issue Jun 2, 2022
Nvidia does not have 11.7 samples at the point.
- NVIDIA/cuda-samples#128
@PerryMapping
Copy link

Would the same process work for 11.6 > 11.8?

@cmousikos
Copy link

i wrote a python script to replace 11.6 to 11.7 in all the .vcxproj

import os

def replace_in_file(file_path, search_string, replace_string):
    with open(file_path, 'r', encoding='utf-8') as file:
        file_contents = file.read()
        
    file_contents = file_contents.replace(search_string, replace_string)
    
    with open(file_path, 'w', encoding='utf-8') as file:
        file.write(file_contents)

def main():
    root_dir = input("Enter the root directory path to search for .vcxproj files: ")

    # Loop through root and subdirectories
    for dirpath, dirnames, filenames in os.walk(root_dir):
        for filename in filenames:
            if filename.endswith('.vcxproj'):
                full_path = os.path.join(dirpath, filename)
                print(f"Processing: {full_path}")
                replace_in_file(full_path, '11.6', '11.7')

    print("Replacement complete.")

if __name__ == "__main__":
    main()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants