ivutils
Loading...
Searching...
No Matches
cuda_emu.h File Reference
#include <stdlib.h>
Include dependency graph for cuda_emu.h:

Classes

struct  cudaDeviceProp
 Detecting the parameters and device. More...
 

Enumerations

enum  cudaError { cudaSuccess = 0 , cudaErrorInvalidValue = 11 , cudaErrorInvalidDevicePointer = 17 }
 Return values. More...
 
enum  cudaMemcpyKind { cudaMemcpyHostToHost = 0 , cudaMemcpyHostToDevice = 1 , cudaMemcpyDeviceToHost = 2 , cudaMemcpyDeviceToDevice = 3 }
 Memory flags. More...
 

Enumeration Type Documentation

◆ cudaError

enum cudaError

Return values.

Enumerator
cudaSuccess 

No errors.

cudaErrorInvalidValue 

Invalid value.

cudaErrorInvalidDevicePointer 

Invalid device pointer.

◆ cudaMemcpyKind

Memory flags.

Enumerator
cudaMemcpyHostToHost 

Host -> Host.

cudaMemcpyHostToDevice 

Host -> Device.

cudaMemcpyDeviceToHost 

Device -> Host.

cudaMemcpyDeviceToDevice 

Device -> Device.