Submission information
Submission Number: 12
Submission ID: 54
Submission UUID: a3b413b8-f9cf-41f8-afdb-e6805863e920
Submission URI: /form/resource
Created: Thu, 09/19/2019 - 16:13
Completed: Thu, 09/19/2019 - 16:13
Changed: Fri, 03/14/2025 - 11:43
Remote IP address: 130.215.55.231
Submitted by: Mariana Pachon-Puentes
Language: English
Is draft: No
Webform: Knowledge Base Resources
Approved: Yes
Title: Examples of Thrust code for GPU Parallelization
Category: Learning
Skill Level:
Intermediate (305), Advanced (306)
Description:
Some examples for writing Thrust code. To compile, download the CUDA compiler
from NVIDIA. This code was tested with CUDA 9.2 but is likely compatible with
other versions. Before compiling change extension from thrust_ex.txt to
thrust_ex.cu. Any code on the device (GPU) that is run through a Thrust
transform is automatically parallelized on the GPU. Host (CPU) code will not
be. Thrust code can also be compiled to run on a CPU for practice.
Link to Resource:
- thrust_ex.txt (https://hpsee.github.io/cyberteam/resources/example-thrust-code-gpu-paralleization/)
Tags:
parallelization (223), gpu (80), cuda (222)
Domain:
ACCESS CSSN (780), Campus Champions (572), CAREERS (323), CCMNet (835), Great Plains (311), Kentucky (322), Northeast (308)
Would you like to associate this resource with an Affinity Group?: {Empty}