GPU Workshop Sample Code
 All Data Structures Namespaces Files Functions Variables Macros Pages
Functions
mappedMemory.cu File Reference

This sample demonstrates the use of mapped variables. More...

#include "../include/mycuda.h"

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

This sample demonstrates the use of mapped variables.

Notes

Examples

float *x = mapped_malloc<float>(n);

Definition in file mappedMemory.cu.

Function Documentation

int main ( void  )

Definition at line 17 of file mappedMemory.cu.