yandex / faster-rnnlm

Faster Recurrent Neural Network Language Modeling Toolkit with Noise Contrastive Estimation and Hierarchical Softmax
Other
562 stars 138 forks source link

OSX compilation: use of undeclared identifier 'CLOCK_MONOTONIC' #4

Closed scottlingran closed 9 years ago

scottlingran commented 9 years ago
rnnlm.cc:101:32: error: use of undeclared identifier 'CLOCK_MONOTONIC'
  void Reset() { clock_gettime(CLOCK_MONOTONIC, &start); }
                               ^
rnnlm.cc:105:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &finish);