[all-commits] [llvm/llvm-project] 88e66f: [OpenMP] Fixing missing variables when CUDA SDK no...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Jul 27 21:46:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e66fa60ae5bad764455b5a0337aa47233f657d
      https://github.com/llvm/llvm-project/commit/88e66fa60ae5bad764455b5a0337aa47233f657d
  Author: Jose M Monsalve Diaz <jmonsalvediaz at anl.gov>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h

  Log Message:
  -----------
  [OpenMP] Fixing missing variables when CUDA SDK not in system

This patch fixes the error reported in D106751. When there is no CUDA SDK
installed in the system, the build fails due to missing `CU_DEVICE_ATTRIBUTE`
variables.

Using @zsrkmyn sugested fix

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106933




More information about the All-commits mailing list