Git Product home page Git Product logo

perl_nvcc's People

Contributors

jnareb avatar run4flat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jnareb baryshevs

perl_nvcc's Issues

ExtUtils::nvcc::Backend::linker should translate options when composing -Xlinker=... parameter

The fragment of code in sub linker, around line 152 in ExtUtils::nvcc::Backend, that composes "-Xlinker=..." parameter shouln't use unfiltered @other_args, but should translate GCC convention of passing options to linker via -Wl,<opt1> -Wl,<opt2> to nvcc convention of passing linker oprions via -Xlinker=<opt1>,<opt2>.

The code currently reads:

    # Set up the flags for the compiler arguments:
    unshift @nvcc_args, ("-Xlinker=" . join ',', @other_args)
        if @other_args;

It should instead be something like the following

    # Set up the flags for the compiler arguments:
    unshift @nvcc_args, ("-Xlinker=" . join ',', map { s/^-Wl,// ? $_ : () } @other_args)
        if @other_args;

Though perhaps it shoul be refactored in separate function, e.g. process_linker_args, or at least a separate variable, e.g. @linker_args/

ExtUtils::nvcc should fix dNOOP issue

A long-standing issue in CUDA::Minimal was recently solved with a simple redefinition of dNOOP, in accordance with the definition currently used in Perl's bleeding branch. See run4flat/perl-CUDA-Minima@ff3b9900cf20b4b02edbc3fa2b16931e38f0d57a. It would be easy to have EU::nvcc patch c source code with this redefinition for offending versions of Perl, and such behavior would be in line with the stated purpose of EU::nvcc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.