[PATCH] D47733: [CUDA][HIP] Set kernel calling convention before arrange function

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 6 10:06:05 PDT 2018


tra added a comment.

@rsmith - Richard, can you take a look?



================
Comment at: test/CodeGenCUDA/kernel-args.cu:1-2
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fcuda-is-device -emit-llvm %s -o - | FileCheck -check-prefix=AMDGCN %s
+// RUN: %clang_cc1 -triple nvptx64-nvidia-cuda- -fcuda-is-device -emit-llvm %s -o - | FileCheck -check-prefix=NVPTX %s
+#include "Inputs/cuda.h"
----------------
Please wrap the long RUN lines.


https://reviews.llvm.org/D47733





More information about the cfe-commits mailing list