Skip to content

CUDA 13 clockRate API deprecation #1045

@chengscott

Description

@chengscott

Build failed w/ cuda 13:

cuda_device_functions.h(119): error: class "cudaDeviceProp" has no member "memoryClockRate"
        << prop.memoryClockRate
                ^

cuda_device_functions.h(121): error: class "cudaDeviceProp" has no member "memoryClockRate"
        << (prop.memoryClockRate / 1e6) * (prop.memoryBusWidth / 8) * 2
                 ^

cuda_device_functions.h(144): error: class "cudaDeviceProp" has no member "clockRate"
        << prop.clockRate
                ^

As per https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id3
clockRate, memoryClockRate need to be retrieved by new API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions