Skip to content
Snippets Groups Projects
  • Jakub Klinkovský's avatar
    4b6c35f0
    Refactoring read and write methods of File · 4b6c35f0
    Jakub Klinkovský authored
    The splitting with if( std::is_same<...> ) is not perfect, the code for
    all devices was always visible to the compiler, and irrelevant parts
    were optimized out at a much later stage. To fix compilation for MIC and
    custom data type, we need proper template specializations.
    4b6c35f0
    History
    Refactoring read and write methods of File
    Jakub Klinkovský authored
    The splitting with if( std::is_same<...> ) is not perfect, the code for
    all devices was always visible to the compiler, and irrelevant parts
    were optimized out at a much later stage. To fix compilation for MIC and
    custom data type, we need proper template specializations.