Skip to main content

Search

Items tagged with: PDL


I wrote a post using #PDL for extraction of line features from images using a Hough transform. Hopefully, it shows PDL's capability for working with ndarrays (even though this is just 2D in both the image and parameter space).

pdl.perl.org/advent/blog/2024/…

#perl #ImageAnalysis #computervision


My paper about the @metacpan module Task::MemManager is done!
Join me Dec 18th for the talk at Winter 2024 Perl Community #Conference
blogs.perl.org/users/oodler_57…
, showing how one can use the module to share memory between components of multi-language (#C #assembly , #Perl , #PDL) applications .

The package will be discussed in a more applied context in my 2nd talk ("Quest for Performance") in which I will illustrate its use in #OpenMP #C / #Perl @openmp_arb workflows. #Fortran is next!


One of the reasons I keep dropping hints about #perlffi , #pdl and #openmp is that one can literally have five multithreading frameworks in the same #perl application of a master process: 1) PDL, and FFI intefacing with 2) #Fortran coarrays, 3) Fortran openmp, 4) #c openmp and 5) #cplusplus #openmp. All these frameworks can share memory addresses for array and vector objects, and #perl aided by #PerlAlien makes the authoring of the high-level code a pleasure ! hgpu.org/?p=29403

submitted by /u/ReplacementSlight413
[link] [comments]


A couple of data/compute intensive examples using Perl Data Language (#PDL), #OpenMP, #Perl, Inline and #Python (base, #numpy, #numba). Kind of interesting to see Python eat Perl's dust and PDL being equal to numpy.

OpenMP and Perl's multithreaded #PDL array language were the clear winners here.


chrisarg.github.io/Killing-It-…

chrisarg.github.io/Killing-It-…

submitted by /u/ReplacementSlight413
[link] [comments]


. @leonerd

I saw your post here about extensible syntax <nntp.perl.org/group/perl.perl5…> and mentioned it to the #PDL team because we have a module called NiceSlice that implements a variable postfix syntax using a source filter. This obviously has problems for complex code.

We'd like something more robust and were wondering if you had any thoughts about ways we could not use a source filter and still get this working (in a lexical scope of course).

#perl


#github repo for some of my confused benchmarks of #pdl in #perl.
github.com/chrisarg/storePDL

This formed the basis of the post below
mstdn.science/@ChristosArgyrop…

There is a nice #preprint going over #pdl its inline module PP and inline #clang
arxiv.org/abs/1702.07753

The preprint and my rudimentary benchmarks argue for revisiting #perl for #datascience applications.

Incidentally, running the benchmark under #WSL in #Windows11 gives the same performance as running it under #Ubuntu.
@Perl


@genio
I'll try! I saw the messages in both the #win32 and #pdl IRC channels earlier, but didn't have time to follow the debugging process myself. Catching up now.


PDL 2.083 is out at your local #CPAN mirror! Here's a summary from a year of PDLing <reddit.com/r/perl/comments/134…>.

#Perl #PDL #hpc #scicomp @Perl


New release: AI-TensorFlow-Libtensorflow-0.0.6 metacpan.org/release/ZMUGHAL/A…

---

This adds an example of using the Enformer model for gene expression prediction with #PDL and #BioPerl.

nbviewer.org/github/EntropyOrg…

@Perl #cpan #ml #bioinformatics #TensorFlow #gnuplot


Tutorial on AI::TensorFlow::Libtensorflow for image classification

nbviewer.org/github/EntropyOrg…

Also viewable as POD metacpan.org/release/ZMUGHAL/A… which also contains the runnable code.

@Perl #Perl #CPAN #ML #TensorFlow #PDL