C# Класс VectorAdditionClient, maxskins

Vector addition Dynamic example
Показать файл Открыть проект

Открытые методы

Метод Описание
Check ( List dataOutDFE, List dataOutCPU, int size ) : int

Checks if vectorAdditionDfe and vectorAdditionCpu return the same value

Main ( string args ) : void
VectorAdditionCpu ( int size, List firstVector, List secondVector, int scalar ) : List

Vector addition on CPU

VectorAdditionDfe ( int size, List firstVector, List secondVector, int scalar ) : List

Vector addition on DFE

Описание методов

Check() публичный статический Метод

Checks if vectorAdditionDfe and vectorAdditionCpu return the same value
public static Check ( List dataOutDFE, List dataOutCPU, int size ) : int
dataOutDFE List Data output from DFE
dataOutCPU List Data output from CPU
size int Size of array
Результат int

Main() публичный статический Метод

public static Main ( string args ) : void
args string
Результат void

VectorAdditionCpu() публичный статический Метод

Vector addition on CPU
public static VectorAdditionCpu ( int size, List firstVector, List secondVector, int scalar ) : List
size int Size of arrays
firstVector List First vector
secondVector List Second vector
scalar int Scalar parameter
Результат List

VectorAdditionDfe() публичный статический Метод

Vector addition on DFE
public static VectorAdditionDfe ( int size, List firstVector, List secondVector, int scalar ) : List
size int Size of arrays
firstVector List First vector
secondVector List Second vector
scalar int Scalar parameter
Результат List