diff options
author | Andrzej Janik <[email protected]> | 2020-11-11 22:35:34 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2020-11-12 20:12:14 +0100 |
commit | a2e77fe961fb543370261e844d6cd79e0269e877 (patch) | |
tree | dea4c9c506c73941403de8ab46560bd569b4a7e7 /ptx/src/lib.rs | |
parent | 7c93997cc9b90886b6371ca3b93e21e7e6ae073d (diff) | |
download | ZLUDA-a2e77fe961fb543370261e844d6cd79e0269e877.tar.gz ZLUDA-a2e77fe961fb543370261e844d6cd79e0269e877.zip |
Refactor host code to use one big lock
Diffstat (limited to 'ptx/src/lib.rs')
-rw-r--r-- | ptx/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ptx/src/lib.rs b/ptx/src/lib.rs index 1aac8ab..591428f 100644 --- a/ptx/src/lib.rs +++ b/ptx/src/lib.rs @@ -34,8 +34,9 @@ pub use crate::ptx::ModuleParser; pub use lalrpop_util::lexer::Token; pub use lalrpop_util::ParseError; pub use rspirv::dr::Error as SpirvError; -pub use translate::TranslateError as TranslateError; -pub use translate::to_spirv; +pub use translate::to_spirv_module; +pub use translate::KernelInfo; +pub use translate::TranslateError; pub(crate) fn without_none<T>(x: Vec<Option<T>>) -> Vec<T> { x.into_iter().filter_map(|x| x).collect() |