run4flat / perl_nvcc Goto Github PK
View Code? Open in Web Editor NEWA CUDA compiler and linker wrapper for Perl's toolchain.
A CUDA compiler and linker wrapper for Perl's toolchain.
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
/
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.