mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-09-17 16:47:18 +03:00
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:
parent
d005f73cb9
commit
72848ba0f6
@ -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
|
||||
|
||||
|
||||
|
@ -47,7 +47,6 @@ private:
|
||||
Ptr<data::ShortlistGenerator const> slgen_;
|
||||
|
||||
#ifdef WITH_PTHREADS
|
||||
PCQueue<PCItem> *pcqueue_;
|
||||
std::thread thread_;
|
||||
#endif
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user