Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarreira committed Nov 2, 2018
1 parent 61d7fdb commit 5df438e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/SparseMFModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,6 @@ void SparseMFModel::serializeFromDense(
uint32_t base_user_id, uint32_t minibatch_size, uint32_t k_items,
const char* item_data_ptr, char* holder) const {

uint32_t to_send_size =
minibatch_size * (sizeof(uint32_t) + (NUM_FACTORS + 1) * sizeof(FEATURE_TYPE)) +
k_items * (sizeof(uint32_t) + (NUM_FACTORS + 1) * sizeof(FEATURE_TYPE));

//std::vector<char> buffer(to_send_size);
char* data_to_send_ptr = holder;

// first we store data about users
Expand Down
2 changes: 1 addition & 1 deletion tests/iterator/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS = foreign

CXX=g++
CXXFLAGS=-Wall -ansi -O3 -std=c++17 -ggdb -Werror
CXXFLAGS=-Wall -ansi -O3 -std=c++17 -ggdb

TOP_DIR=../../../..
THIRD_PARTY_DIR=../../third_party
Expand Down
2 changes: 1 addition & 1 deletion tests/test_travis_lr/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS = foreign

CXX=g++
CXXFLAGS=-Wall -ansi -O3 -std=c++17 -ggdb -Werror
CXXFLAGS=-Wall -ansi -O3 -std=c++17 -ggdb

bin_PROGRAMS = test_lr test_ps worker error

Expand Down
2 changes: 1 addition & 1 deletion tests/test_travis_mf/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS = foreign

CXX=g++
CXXFLAGS=-Wall -ansi -O3 -std=c++17 -ggdb -Werror
CXXFLAGS=-Wall -ansi -O3 -std=c++17 -ggdb

bin_PROGRAMS = test_ps worker error

Expand Down

0 comments on commit 5df438e

Please sign in to comment.