Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Installation

5. Install charmpandas::

git clone https://github.com/adityapb/charmpandas.git
git clone https://github.com/UIUC-PPL/charmpandas.git
cd charmpandas/src
export CHARMDIR=<charm++ home directory>
export XXHASH_DIR=<xxhash home directory>
Expand Down
4 changes: 2 additions & 2 deletions src/reduction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ AggregateReductionMsg* create_reduction_msg(int result_name, int table_size, cha
int total_size = sizeof(AggregateReductionMsg) + table_size + options_size;
void* buffer = ::operator new(total_size);
AggregateReductionMsg* msg = new (buffer) AggregateReductionMsg(result_name, table_size, options_size);
char* msg_options = reinterpret_cast<char*>(buffer + sizeof(AggregateReductionMsg));
char* msg_options = reinterpret_cast<char*>((char*)buffer + sizeof(AggregateReductionMsg));
if (table_size > 0)
{
char* msg_table = reinterpret_cast<char*>(buffer + sizeof(AggregateReductionMsg) + options_size);
char* msg_table = reinterpret_cast<char*>((char*)buffer + sizeof(AggregateReductionMsg) + options_size);
std::memcpy(msg_table, table, table_size);
}
std::memcpy(msg_options, options, options_size);
Expand Down