- Oct 25, 2019
-
-
Jakub Klinkovský authored
This will be necessary to avoid code bloat with more than 2 devices (execution types).
-
Jakub Klinkovský authored
- cudaMemcpy is slower than our ParallelFor kernel for CUDA - use std::copy and std::equal instead of memcpy and memcmp, but only as sequential fallbacks - use parallel algorithms for containsValue and containsOnlyValue (again with sequential fallbacks)
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
It has nothing to do with devices.
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
Also set the buffer size to 1 MiB, because larger buffer size slows down memory copies significantly (e.g. MeshTest would take about 10x longer). Addresses #26
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
Moved synchronization of smart pointers from Devices::Cuda into TNL::Pointers namespace as free functions synchronizeDevice() was renamed to synchronizeSmartPointersOnDevice() for clarity - there are many similarly named functions in CUDA (e.g. cudaDeviceSynchronize()).
-
Jakub Klinkovský authored
Moved (most of) static methods from TNL::Devices::Cuda as free functions into separate namespace TNL::Cuda The class TNL::Devices::Cuda was too bloated, breaking the Single Responsibility Principle. It should be used only for template specializations and other things common to all devices. The functions in MemoryHelpers.h are deprecated, smart pointers should be used instead. The functions in LaunchHelpers.h are temporary, more refactoring is needed with respect to execution policies and custom launch parameters.
-
- Oct 24, 2019
-
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
Fixes #46
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
The implementation for std::string (which is a base class of TNL::String) is perfectly sufficient.
-
Jakub Klinkovský authored
Fixes #11
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
-
- Oct 05, 2019
-
-
Matouš Fencl authored
-
- Sep 28, 2019
-
-
Tomáš Oberhuber authored
-
- Sep 25, 2019
-
-
-
Tomáš Oberhuber authored
-
-
-
-
-
-
-
MPI implemented for CPU and GPU in 2D but meshFunction.template synchronize< Communicator >(); doesn't copy overlaps.
-
-
-
-
- Sep 20, 2019
-
-
Jakub Klinkovský authored
-
- Sep 03, 2019
-
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
StaticArrayAssignment expects the arguments passed as reference.
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
-
Jakub Klinkovský authored
-
- Sep 02, 2019
-
-
Tomáš Oberhuber authored
-