P. 1
CUDA_C_Best_Practices_Guide

CUDA_C_Best_Practices_Guide

|Views: 5,205|Likes:
Published by mike_in_england

More info:

Published by: mike_in_england on Feb 27, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/30/2012

pdf

text

original

One of the keys to good performance is to keep the multiprocessors on the device
as busy as possible. A device in which work is poorly balanced across the
multiprocessors will deliver suboptimal performance. Hence, it’s important to
design your application to use threads and blocks in a way that maximizes hardware
utilization and to limit practices that impede the free distribution of work. A key
concept in this effort is occupancy, which is explained in the following sections.
Another important concept is the management of system resources allocated for a
particular task. How to manage this resource utilization is discussed in the final
sections of this chapter.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->