From 502aa3812a82cf0d091cff0c67804e4ee448ac78 Mon Sep 17 00:00:00 2001 From: David Siher <32305650+dsiher@users.noreply.github.com> Date: Tue, 14 Sep 2021 12:59:55 -0400 Subject: Bring heterogeneous-hello-world back up to date. (#1935) * Bring heterogeneous-hello-world back up to date. * Reintroduced heterogeneous-hello-world into the premake * No longer uses compiled bytecode for entry point, instead a loadModule call is hardocoded with the slang file name. * Entry point is, similarly, hardcoded for now. * Added a bypass to slang-legalize-types for an unneeded GPUForeach check * Run premake and change to relative path * Removed experimental and added README Co-authored-by: Yong He --- source/slang/slang-check-stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-check-stmt.cpp') diff --git a/source/slang/slang-check-stmt.cpp b/source/slang/slang-check-stmt.cpp index 9a5aee15c..6f8ed9ff5 100644 --- a/source/slang/slang-check-stmt.cpp +++ b/source/slang/slang-check-stmt.cpp @@ -290,7 +290,7 @@ namespace Slang void SemanticsStmtVisitor::visitGpuForeachStmt(GpuForeachStmt*stmt) { - stmt->renderer = CheckExpr(stmt->renderer); + stmt->device = CheckExpr(stmt->device); stmt->gridDims = CheckExpr(stmt->gridDims); ensureDeclBase(stmt->dispatchThreadID, DeclCheckState::Checked); WithOuterStmt subContext(this, stmt); -- cgit v1.2.3