Searched refs:DeviceY (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/parallel-libs/acxxel/examples/ |
D | simple_example.cu | 36 auto DeviceY = CUDA->mallocD<float>(N).takeValue(); in saxpy() local 39 Stream.syncCopyHToD(X, DeviceX).syncCopyHToD(Y, DeviceY); in saxpy() 42 saxpyKernel<<<1, N, 0, Stream>>>(A, DeviceX, DeviceY, N); in saxpy() 64 float *DeviceY; in cudaSaxpy() local 66 cudaMalloc(&DeviceY, Size); in cudaSaxpy() 70 cudaMemcpy(DeviceY, Y.data(), Size, cudaMemcpyHostToDevice); in cudaSaxpy() 73 saxpyKernel<<<1, N>>>(A, DeviceX, DeviceY, N); in cudaSaxpy() 80 cudaFree(DeviceY); in cudaSaxpy()
|
D | opencl_example.cpp | 32 auto DeviceY = OpenCL->mallocD<float>(N).takeValue(); in saxpy() local 33 Stream.syncCopyHToD(X, DeviceX).syncCopyHToD(Y, DeviceY); in saxpy() 41 float *RawY = static_cast<float *>(DeviceY); in saxpy()
|
/external/llvm-project/parallel-libs/acxxel/tests/ |
D | opencl_test.cpp | 36 auto DeviceY = OpenCL->mallocD<float>(Length).takeValue(); in TEST() local 38 Stream.syncCopyHToD(Y, DeviceY); in TEST() 46 float *RawY = static_cast<float *>(DeviceY); in TEST()
|