How to use Alea.cuBase in Python

This entry was posted in category Blog on December 26, 2014 by dani

Introduction Python is often used for scripting and rapid prototyping. In this post we illustrate how we can integrate Alea.cuBase and Python so that we can call GPU algorithms coded with Alea.cuBase conveniently in Python. In this post we rely on Python for .NET. It provides a nearly seamless integration of Python with the .NET […]

Read More

Install Alea.cuBase License on Amazon Elastic Compute Cloud

This entry was posted in category Blog on December 26, 2014 by dani

Alea.cuBase licenses rely on a fingerprint of the running hardware. For an Amazon EC2 cloud machine, the hardware keeps changing. In this case, in order to install an Alea.cuBase license you have to create a Virtual Private Cloud (VPC), then use a Elastic Network Interface (ENI) in that VPC, which retains a static MAC address. […]

Read More

Alea.cuBase 1.0.401 released

This entry was posted in category Release on December 26, 2014 by dani

Alea.cuBase 1.0.401 is released and can be downloaded from our web page. Alternatively you can get it as a NuGet package on www.nuget.org. In this release we change the product name from Alea.CUDA to Alea.cuBase in order conform to existing trademarks. The new name also reflects the fact that Alea.cuBase is a base technology on […]

Read More

Segmented Warp Scan with Packed Head Flags

This entry was posted in category Blog on December 26, 2014 by dani

Here is a simple test implementation of a segmented scan in warp with packed head flag. The idea is from the segmented warp scan function. Here is the implementation in F#. [sourcecode language=”fsharp”] open NUnit.Framework open Alea.Interop.LLVM open Alea.CUDA open Alea.CUDA.Extension // define an alias module IRB = Alea.CUDA.IRBuilderUtil module DF = Alea.CUDA.DeviceFunction // get […]

Read More

CUDA Scripting in Excel Part I

This entry was posted in category Blog on December 26, 2014 by dani

In this video, we use the Tsunami IDE to do CUDA scripting inside Excel. We show how to code a CUDA kernel, launch and modify it. Here is the test code: [sourcecode language=”fsharp”] #r @”C:\Users\Xiang\Documents\FCell\Alea.CUDA.dll” #r @”C:\Users\Xiang\Documents\FCell\FCell.ManagedXll.dll” namespace Demo open Alea.CUDA open FCell.ManagedXll module UDF = [<XlConverter>] let exc (e:exn) = XlScalar(XlString(e.Message)) let private worker […]

Read More