================
@@ -41,5 +41,5 @@ int main(int argc, char **argv) {
 
   cudaError_t Err = cudaSetDevice(-1);
   printf("set invalid device: %u\n", Err);
-  // CHECK: set invalid device: 1
+  // CHECK: set invalid device: 2
----------------
jellytabby wrote:

It's not system specific, this PR added InvalidValue, which made the numeric 
value of InvalidDevice be 2 instead of 1

https://github.com/llvm/llvm-project/pull/212887
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to