diff options
author | Andrzej Janik <[email protected]> | 2024-09-23 06:02:28 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2024-09-23 06:02:28 +0200 |
commit | 78a9f22cf7e6c819f04991c1624578c969c1a146 (patch) | |
tree | 89bab98e3071aedd12f755bfde8a7c7382138ed7 /ptx/src/test/spirv_run/mod.rs | |
parent | 7bd4179d1dd24f81b56e66fd13c16631b518495f (diff) | |
download | ZLUDA-78a9f22cf7e6c819f04991c1624578c969c1a146.tar.gz ZLUDA-78a9f22cf7e6c819f04991c1624578c969c1a146.zip |
Refactor implicit conversions, explicit ld/st and global hoistingrepass
Diffstat (limited to 'ptx/src/test/spirv_run/mod.rs')
-rw-r--r-- | ptx/src/test/spirv_run/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ptx/src/test/spirv_run/mod.rs b/ptx/src/test/spirv_run/mod.rs index 69dd206..e15d6ea 100644 --- a/ptx/src/test/spirv_run/mod.rs +++ b/ptx/src/test/spirv_run/mod.rs @@ -236,7 +236,7 @@ fn test_hip_assert< output: &mut [Output],
) -> Result<(), Box<dyn error::Error + 'a>> {
let ast = ptx_parser::parse_module_checked(ptx_text).unwrap();
- let llvm_ir = pass::to_llvm_module(ast).unwrap();
+ let llvm_ir = pass::to_llvm_module2(ast).unwrap();
let name = CString::new(name)?;
let result =
run_hip(name.as_c_str(), llvm_ir, input, output).map_err(|err| DisplayError { err })?;
|