GTC ON-DEMAND

 
SEARCH SESSIONS
SEARCH SESSIONS

Search All
 
Refine Results:
 
Year(s)

SOCIAL MEDIA

EMAIL SUBSCRIPTION

 
 

GTC ON-DEMAND

Finance
Presentation
Media
C++ Data Marshalling Best Practices
Abstract:

When integrating CUDA C++ kernels into existing C++ applications, it is at times desirable to migrate a C++ object instance from the host to the device or vice versa. Given variations among host compilers regarding structure layout, accomplishing this data marshalling in a manner that is reliable, simple, and efficient is a complex issue. cudaMemcpy is our primary means to transfer data to the GPU, but memcpy-style operations are more readily amenable to C-style structures and arrays than to C++ objects or collections of objects. In this session, we will cover the caveats and best practices for marshalling C++ data.

 
Topics:
Finance
Type:
Talk
Event:
GTC Silicon Valley
Year:
2012
Session ID:
S2377
Streaming:
Download:
Share: