[PATCH] Ignore device-side asm constraint errors while compiling CUDA code for host and vice versa.
Artem Belevich
tra at google.com
Wed Mar 18 07:55:51 PDT 2015
Good point. Will do.
On Mar 18, 2015 7:54 AM, "Eli Bendersky" <eliben at google.com> wrote:
> ================
> Comment at: test/SemaCUDA/asm-constraints.cu:7
> @@ +6,3 @@
> + short h;
> + // asm with PTX constraints. Some of them are PTX-specific.
> + __asm__("dont care" : "=h"(h): "f"(0.0), "d"(0.0), "h"(0), "r"(0),
> "l"(0));
> ----------------
> Are there checks anywhere that asm diagnostics are validated within device?
>
> Perhaps a positive test would be helpful (make sure that an invalid
> constraint produces a diagnostic within a kernel)
>
> http://reviews.llvm.org/D8392
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150318/8b45557f/attachment.html>
More information about the cfe-commits
mailing list