This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unowned pointer/reference -> raw pointer | |
master ownership -> unique_ptr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tkwon@bob1 bin]$ ./benchmark_partition_copy --vector_size 100000000 --hpx:threads 16 | |
-------------- Benchmark Config -------------- | |
seed : 1498419087 | |
vector_size : 100000000 | |
test_count : 10 | |
os threads : 16 | |
---------------------------------------------- | |
* Preparing Benchmark... | |
* Running Benchmark... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <syslog.h> | |
static void start_skeleton_daemon() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static volatile int taeguk = 0; | |
// Added by taeguk. | |
static void fb_fake_for_taeguk(char* fb_ptr/*private_handle_t const* hnd*/, private_module_t* m) | |
{ | |
static int called_cnt = 0; | |
int width = m->info.xres; | |
int height = m->info.yres; | |
int bpp = m->info.bits_per_pixel / 8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Added by taeguk. | |
static void fb_fake_for_taeguk(private_handle_t const* hnd, private_module_t* m) | |
{ | |
static int called_cnt = 0; | |
int width = m->info.xres; | |
int height = m->info.yres; | |
int bpp = m->info.bits_per_pixel / 8; | |
int xoffset = m->info.xoffset; | |
int yoffset = m->info.yoffset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Added by taeguk. | |
static void fb_fake_for_taeguk(private_handle_t const* hnd, private_module_t* m) | |
{ | |
static int called_cnt = 0; | |
int width = m->info.xres; | |
int height = m->info.yres; | |
int bpp = m->info.bits_per_pixel / 8; | |
int xoffset = m->info.xoffset; | |
int yoffset = m->info.yoffset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check Box | |
--------------- | |
- [x] implementation of is_heap. | |
- [x] unit tests for is_heap. | |
- [x] implementation of is_heap_until. | |
- [x] unit tests for is_heap_until. | |
- [ ] benchmark codes for is_heap. | |
- [ ] benchmark codes for is_heap_until. | |
- [ ] benchmark for is_heap_until. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tkwon@bob1 hpx_build]$ time ctest -R tests.unit.parallel | |
Test project /home/tkwon/hpx_build | |
Start 317: tests.unit.parallel.spmd_block | |
1/178 Test #317: tests.unit.parallel.spmd_block ..........................***Failed 0.04 sec | |
Start 318: tests.unit.parallel.task_block | |
2/178 Test #318: tests.unit.parallel.task_block ..........................***Failed 0.04 sec | |
Start 319: tests.unit.parallel.task_block_executor | |
3/178 Test #319: tests.unit.parallel.task_block_executor .................***Failed 0.06 sec | |
Start 320: tests.unit.parallel.task_block_par | |
4/178 Test #320: tests.unit.parallel.task_block_par ......................***Failed 0.06 sec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tkwon@bob1 hpx_build]$ make clean | |
[tkwon@bob1 hpx_build]$ | |
[tkwon@bob1 hpx_build]$ make -j8 examples.quickstart.fibonacci_futures | |
[ 0%] Building CXX object src/CMakeFiles/hpx_init.dir/hpx_main.cpp.o | |
[ 0%] Building CXX object src/CMakeFiles/hpx_init.dir/hpx_main_argc_argv.cpp.o | |
[ 0%] Building CXX object src/CMakeFiles/hpx_init.dir/hpx_main_winsocket.cpp.o | |
[ 0%] Building CXX object src/CMakeFiles/hpx_init.dir/hpx_main_variables_map.cpp.o | |
[ 0%] Building CXX object src/CMakeFiles/hpx_init.dir/hpx_user_main.cpp.o | |
[ 0%] Building CXX object src/CMakeFiles/hpx_init.dir/hpx_user_main_argc_argv.cpp.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hpx::future<std::uint64_t> fibonacci(std::uint64_t n, std::string prefix) | |
{ | |
if (n < 2) return hpx::make_ready_future(n); | |
if (n < threshold) return hpx::make_ready_future(fibonacci_serial(n)); | |
auto new_prefix = prefix + "->" + std::to_string(n); | |
std::cout << "[Debug] " << new_prefix << std::endl; | |
hpx::future<std::uint64_t> lhs_future = hpx::async(&fibonacci, n-1, new_prefix); | |
for (int i = 0; i < 1000000000; ++i) int j = i*i; |