Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying R High Performance Programming
  • Table Of Contents Toc
  • Feedback & Rating feedback
R High Performance Programming

R High Performance Programming

By : Aloysius Shao Qin Lim, Tjhi W Chandra
4.4 (14)
close
close
R High Performance Programming

R High Performance Programming

4.4 (14)
By: Aloysius Shao Qin Lim, Tjhi W Chandra

Overview of this book

This book is for programmers and developers who want to improve the performance of their R programs by making them run faster with large data sets or who are trying to solve a pesky performance problem.
Table of Contents (12 chapters)
close
close
4
4. Using Compiled Code for Greater Speed
In Progress | 0 / 4 sections completed | 0%
5
5. Using GPUs to Run R Even Faster
In Progress | 0 / 5 sections completed | 0%
chevron up
7
7. Processing Large Datasets with Limited RAM
In Progress | 0 / 4 sections completed | 0%
11
Index
In Progress | 0 / 1 sections completed | 0%

Chapter 5. Using GPUs to Run R Even Faster

In this chapter, we will look at another means to speed up the execution of an R code using a technology that is often untapped, although it is part of most computers—the Graphics Processing Unit (GPU), otherwise known as a graphics card. When we think of a GPU, we often think of the amazing graphics it can produce. In fact, GPUs are powered by technologies with highly parallel processing capabilities that are like the top supercomputers in the world. In the past, programming with GPUs was very difficult. However, in the last few years, this barrier has been removed with GPU programming platforms like CUDA and OpenCL that make programming with GPUs accessible for many programmers. Better still, the R community has developed a few packages for R users to leverage the computing power of GPUs.

To run the examples in this chapter, you will need an NVIDIA GPU with CUDA capabilities.

This chapter covers:

  • General purpose computing on GPUs...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY