Skip to content
Snippets Groups Projects

Fix template compilation and warnings

Merged Charles Villard requested to merge silvanosky/aidge_backend_cuda:compilation_fix1 into dev

Context

Compilation error when building with CUDA 12.6 and GCC 14.2

Modified files

  • include/aidge/backend/cuda/data/TensorImpl.hpp
  • src/data/TensorImpl.cu
  • src/operator/ILayerNormImpl_CUDA_kernels.cu

Detailed major modifications

  • Moved enable_if template specialization from parameter to return type which helps the compiler to select the correct implementation.
  • Changed factor type to avoid out of bound warning.
Edited by Cyril Moineau

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading