Wednesday, May 16, 2018

Digest for comp.programming.threads@googlegroups.com - 7 updates in 4 topics

Sky89 <Sky89@sky68.com>: May 15 11:11PM -0400

Hello,
 
Scalable Parallel C++ Conjugate Gradient Linear System Solver
Library for Windows and Linux was updated to version 1.66
 
Author: Amine Moulay Ramdane
 
Description:
 
This library contains a Scalable Parallel implementation of
Conjugate Gradient Dense Linear System Solver library that is
NUMA-aware and cache-aware, and it contains also a Scalable
Parallel implementation of Conjugate Gradient Sparse Linear
System Solver library that is cache-aware.
 
Conjugate Gradient is known to converge to the exact solution in n steps
for a matrix of size n, and was historically first seen as a direct
method because of this. However, after a while people figured out that
it works really well if you just stop the iteration much earlier - often
you will get a very good approximation after much fewer than n steps. In
fact, we can analyze how fast Conjugate gradient converges. The end
result is that Conjugate gradient is used as an iterative method for
large linear systems today.
 
 
You can download it from:
 
https://sites.google.com/site/aminer68/scalable-parallel-c-conjugate-gradient-linear-system-solver-library
 
Please download the zip file and read the readme file inside the
zip to know how to use it.
 
Language: GNU C++ and Visual C++ and C++Builder
 
Operating Systems: Windows, Linux, Unix and Mac OS X on (x86)
 
 
 
 
Thank you,
Amine Moulay Ramdane.
Sky89 <Sky89@sky68.com>: May 15 11:20PM -0400

On 5/15/2018 11:11 PM, Sky89 wrote:
 
> Thank you,
> Amine Moulay Ramdane.
 
This library version 1.66 was optimized more, and now it is a powerful
and great library.
 
 
Thank you,
Amine Moulay Ramdane.
Sky89 <Sky89@sky68.com>: May 15 07:33PM -0400

Hello,
 
I have just corrected the name of my following library,
it is now called: Scalable parallel implementation of Conjugate Gradient
Linear Sparse System Solver library version 1.68, i have optimized it
more and it is now a powerful and great library, i will update soon the
Scalable C++ version , here is the Scalable library:
 
https://sites.google.com/site/aminer68/parallel-implementation-of-conjugate-gradient-sparse-linear-system-solver
 
 
Please stay tuned, the C++ version is coming soon !
 
 
Thank you,
Amine Moulay Ram,d
Sky89 <Sky89@sky68.com>: May 15 05:03PM -0400

Hello..
 
 
Here is a Delphi and FreePascal unit that i have just wrote that permits
to allocated an aligned memory, i have tested it and it works great, it
is well suited for parallel programming:
 
 
Here is first the define.inc file:
 
==
 
{$DEFINE CPU64}
 
==
 
 
And here is the Delphi and FreePascal unit:
 
===
 
unit Getmem_aligned1;
 
 
{$I defines.inc}
 
interface
 
type
 
typecache1 = array[0..15] of longword;
 
{$IFDEF CPU64}
long = uint64;
int = int64;
{$ENDIF CPU64}
{$IFDEF CPU32}
long = longword;
int = integer;
{$ENDIF CPU32}
 
 
type IntPtr=^Int;
 
procedure getmem_aligned(alignment:cardinal;var ptr:pointer;size:cardinal);
procedure freemem_aligned(ptr:pointer);
 
 
implementation
 
 
procedure getmem_aligned(alignment:cardinal;var ptr:pointer;size:cardinal);
 
var ptr1,ptr2,ptr3:pointer;
 
begin
 
ptr := AllocMem(size + (2*alignment) + sizeof(pointer));
 
ptr1:=pointer(int(ptr)+sizeof(pointer));
 
ptr2 := Pointer((int(ptr1) + Alignment - 1) and not (Alignment - 1));
 
ptr3:=pointer(int(ptr2)-sizeof(pointer));
 
intptr(ptr3)^:=int(ptr);
 
ptr:=ptr2;
 
 
end;
 
 
procedure freemem_aligned(ptr:pointer);
 
var ptr1,ptr2:pointer;
 
begin
 
ptr1:=pointer(int(ptr)-sizeof(pointer));
 
int(ptr2):=intptr(ptr1)^;
 
freemem(ptr2);
 
end;
 
 
end.
 
==
 
 
 
 
Thank you,
Amine Moulay Ramdane.
Sky89 <Sky89@sky68.com>: May 15 05:38PM -0400

On 5/15/2018 5:03 PM, Sky89 wrote:
> Hello..
 
> Here is a Delphi and FreePascal unit that i have just wrote that permits
 
I correct: we write in english: "that i have just written"
 
 
 
Sky89 <Sky89@sky68.com>: May 15 04:55PM -0400

Hello...
 
 
My following projects were updated and optimized more:
 
Concurrent Varfiler
 
https://sites.google.com/site/aminer68/concurrent
 
 
PARALLEL IMPLEMENTATION OF CONJUGATE GRADIENT SPARSE LINEAR SYSTEM SOLVER
 
https://sites.google.com/site/aminer68/parallel-implementation-of-conjugate-gradient-sparse-linear-system-solver
 
 
Parallel Sort library
 
https://sites.google.com/site/aminer68/parallel-sort-library
 
 
Scalable Parallel HashList
 
https://sites.google.com/site/aminer68/scalable-parallel-hashlist
 
 
Scalable Parallel implementation of Conjugate Gradient Linear System
solver library that is NUMA-aware and cache-aware
 
https://sites.google.com/site/aminer68/scalable-parallel-implementation-of-conjugate-gradient-linear-system-solver-library-that-is-numa-aware-and-cache-aware
 
 
Scalable Parallel Varfiler
 
https://sites.google.com/site/aminer68/scalable-parallel-varfiler
 
 
StringTree
 
https://sites.google.com/site/aminer68/stringtree
 
 
 
Thank you,
Amine Moulay Ramdane.
Sky89 <Sky89@sky68.com>: May 15 05:16PM -0400

On 5/15/2018 4:55 PM, Sky89 wrote:
 
> https://sites.google.com/site/aminer68/stringtree
 
> Thank you,
> Amine Moulay Ramdane.
 
There were no bugs on my projects, i have just optimized them more.
 
 
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: