Fixes UEdin builds after wasm-integration merge

A bug which crept in during manual merge is now fixed. PCItem -> Batch
on a PCQueue.

docs/marian-integration.md provides instructions to compile successfully
for multithread.
This commit is contained in:
Jerin Philip 2021-02-17 13:28:58 +00:00
parent d005f73cb9
commit 72848ba0f6
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,9 @@ $ git clone https://github.com/browsermt/bergamot-translator
$ cd bergamot-translator
$ mkdir build
$ cd build
$ cmake ../
$ cmake .. -DCOMPILE_CUDA=off -DCMAKE_BUILD_TYPE=Release \
-DCOMPILE_DECODER_ONLY=off -DCOMPILE_LIBRARY_ONLY=off -DUSE_MKL=on \
-DCOMPILE_THREAD_VARIANT=on
$ make -j

View File

@ -47,7 +47,6 @@ private:
Ptr<data::ShortlistGenerator const> slgen_;
#ifdef WITH_PTHREADS
PCQueue<PCItem> *pcqueue_;
std::thread thread_;
#endif
};