From 7e0aa9315f7f65033229c1f76d7df47ccd2da3d0 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 9 Mar 2020 12:40:04 -0400 Subject: CUDA support for vector/matrix Wave intrinsics (#1266) * Distinguish between __activeMask and _getConvergedMask(). Remove need to pass in mask to CUDA wave impls. * Add support for vector/matrix Wave intrinsics for CUDA. Fix issue with CUDA parsing of errors. * Fix typo. --- source/core/slang-nvrtc-compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/slang-nvrtc-compiler.cpp') diff --git a/source/core/slang-nvrtc-compiler.cpp b/source/core/slang-nvrtc-compiler.cpp index 2f9944786..db4e4f32f 100644 --- a/source/core/slang-nvrtc-compiler.cpp +++ b/source/core/slang-nvrtc-compiler.cpp @@ -204,7 +204,7 @@ static SlangResult _parseNVRTCLine(const UnownedStringSlice& line, DownstreamDia StringUtil::split(line, ':', split); } - if (split.getCount() == 3) + if (split.getCount() >= 3) { // tests/cuda/cuda-compile.cu(7): warning: variable "c" is used before its value is set -- cgit v1.2.3