Skip to content

CUDA 10 got a different path for libdevice #143

Description

@ProfFan
./image_warping 
width 512, height 512
numActivePixels: 101406
linkllvm(/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc): No such file or directory

patch at util.t:

local cuda_compute_version = 30
-- local libdevice = terralib.cudahome..string.format("/nvvm/libdevice/libdevice.compute_%d.10.bc",cuda_compute_version)
local libdevice = terralib.cudahome.."/nvvm/libdevice/libdevice.10.bc"

After it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions