Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'refactor-api' of github.com:LuisaGroup/LuisaCompute-cor…
Browse files Browse the repository at this point in the history
…outine into refactor-api
  • Loading branch information
Mike-Leo-Smith committed May 16, 2024
2 parents b0d90b8 + b2c3620 commit c93cc73
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion scripts/print_hlsl_builtin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local files_list = {'accel_process', 'bindless_upload', 'bc6_encode_block', 'bc6
'bc6_trymode_le10cs', 'bc7_encode_block', 'bc7_header', 'bc7_trymode_02cs', 'bc7_trymode_137cs',
'bc7_trymode_456cs', 'hlsl_header', 'raytracing_header', 'tex2d_bindless', 'tex3d_bindless',
'compute_quad', 'determinant', 'inverse', 'indirect', 'resource_size', 'accel_header', 'copy_sign',
'bindless_common', 'auto_diff', "reduce", "coroutine"}
'bindless_common', 'auto_diff', "reduce"}
local lib = import("lib")

local hlsl_builtin_path = path.join(os.projectdir(), "src/backends/common/hlsl/builtin")
Expand Down
9 changes: 0 additions & 9 deletions src/backends/common/hlsl/builtin/coroutine

This file was deleted.

4 changes: 0 additions & 4 deletions src/backends/common/hlsl/builtin/coroutine.c

This file was deleted.

4 changes: 0 additions & 4 deletions src/backends/common/hlsl/hlsl_codegen_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ static size_t AddHeader(CallOpSet const &ops, vstd::StringBuilder &builder, bool
ops.test(CallOp::MATRIX_COMPONENT_WISE_MULTIPLICATION)) {
builder << CodegenUtility::ReadInternalHLSLFile("reduce");
}
if (ops.test(CallOp::CORO_ID) ||
ops.test(CallOp::CORO_TOKEN)) {
builder << CodegenUtility::ReadInternalHLSLFile("coroutine");
}
return immutable_size;
}
}// namespace detail
Expand Down

0 comments on commit c93cc73

Please sign in to comment.