This repository has been archived by the owner on Dec 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
[WIP] Binary Operators #94
Open
wmalpica
wants to merge
74
commits into
rapidsai:master
Choose a base branch
from
BlazingDB:binary-operators-draft
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 53 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
b92f977
Binary Operators
40577cb
Binary Operations
916b695
Binary Operations
cf20eef
Binary Operations
144aa49
Binary Operations
8b228bb
Binary Operations
3717b4f
Binary Operations
a24d15f
Binary Operations
2e384e6
Binary Operations
a11dc77
Binary Operations
0097521
Binary Operations
88d3c45
Binary Operations
280f52a
Binary Operations
fc9efab
Binary Operations
c397a7e
Binary Operations
1ac172d
Merge branch 'master' into binary-operators-draft
ironbit 335485e
Binary Operations
d112885
Merge branch 'binary-operators-draft' of github.com:BlazingDB/libgdf …
6145569
Binary Operations
d311a81
Binary Operations
74c0b68
Binary Operations
d0e4dfe
Binary Operations
891e2d9
Binary Operations
3a18c62
Binary Operations
ba15ada
Binary Operations
191e549
Binary Operations
6061920
Binary Operations
5048f24
Binary Operations
35f64e5
Added libgdf static library target as optional (disabled by default).
6667ade
Binary Operations
34579a4
Changed the name of the static library (libgdf.a).
55633c9
Minor fixes for LIBGDF_STATIC_LIB and update README.md
aucahuasi 3c359c0
Link gdf against cuda and nvrtc libs
aucahuasi e427005
Binary Operations
e00479b
Add cuda runtime libs
aucahuasi 42d24f4
Merge branch 'binary-operators-draft' of https://github.com/BlazingDB…
aucahuasi ccc3bc9
Merge branch 'master' into binary-operators-draft
52a7aa4
Updated branch 'binary-operators-draft'
f08a771
Binary Operations
5313068
Binary Operations
b46cd2a
Binary Operations
b1f5ae2
Binary Operations
82e99c8
Binary Operations
6509c76
Binary Operations
c093441
test solution
aucahuasi 214236c
upgrade py package
aucahuasi 1a9d550
Binary Operations
29e81ea
Merge branch 'master' into binary-operators-draft
65d207e
Merge branch 'master' into binary-operators-draft
f3e7768
Merge branch 'binary-operators-draft' of github.com:BlazingDB/libgdf …
12a4f5c
Binary Operations
6073b03
Merge branch 'master' into binary-operators-draft
47b0905
Binary Operations
9ba4b73
Binary Operations
6f6d804
Binary Operations
96012d9
Binary Operations
5773a58
Binary Operations
55c5fd2
Merge branch 'master' into binary-operators-draft
10dff5d
Binary Operations
729cbfa
Merge branch 'master' into binary-operators-draft
a3cbde8
Binary Operations
59b5ba6
Merge branch 'master' into binary-operators-draft
36241ec
Merge branch 'master' into binary-operators-draft
1c521a1
Binary Operations
b6f5cce
Binary Operations
a166c7c
Binary Operations
3a74ff8
new order by api
f7c3d4f
[binary-operators-draft]: udpate get_column_byte_width to support uns…
aocsa cc75849
[binary-operator-draft] update gpu_apply_stencil to work with least-s…
aocsa 2c356d0
fixed some issues with binary ops not being able to output if the spa…
d0a76c1
made a small fix to the sorting code so it gets the size properly, it…
dfa27b8
removed some couts
e47aebe
removed some couts
9722f0e
TODO use a fixed compute capability
aucahuasi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#============================================================================= | ||
# Copyright 2018-2019 BlazingDB, Inc. | ||
# Copyright 2018 Christian Noboa Mardini <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#============================================================================= | ||
|
||
## Build Benchmark | ||
## By default is disabled. | ||
## Add -DBENCHMARK:BOOL=ON as cmake parameter to create the benchmark. | ||
|
||
option(BENCHMARK "Benchmark" OFF) | ||
|
||
if(BENCHMARK) | ||
message(STATUS "Benchmark is enabled") | ||
include(GoogleBenchmark) | ||
add_subdirectory(src/bench) | ||
endif() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#============================================================================= | ||
# Copyright 2018-2019 BlazingDB, Inc. | ||
# Copyright 2018 Christian Noboa Mardini <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#============================================================================= | ||
|
||
set(CUDA_LIBRARY_DIR ${CUDA_TOOLKIT_ROOT_DIR}) | ||
set(CUDA_LIBRARY_STUBS_DIR ${CUDA_TOOLKIT_ROOT_DIR}) | ||
|
||
## Based on NVRTC (Runtime Compilation) - CUDA Toolkit Documentation - v9.2.148 | ||
## 2.2. Installation | ||
if(CMAKE_HOST_APPLE) | ||
set(CUDA_LIBRARY_DIR ${CUDA_TOOLKIT_ROOT_DIR}/lib) | ||
set(CUDA_LIBRARY_STUBS_DIR ${CUDA_TOOLKIT_ROOT_DIR}/lib/stubs) | ||
elseif(CMAKE_HOST_UNIX) | ||
set(CUDA_LIBRARY_DIR ${CUDA_TOOLKIT_ROOT_DIR}/lib64) | ||
set(CUDA_LIBRARY_STUBS_DIR ${CUDA_TOOLKIT_ROOT_DIR}/lib64/stubs) | ||
elseif(CMAKE_HOST_WIN32) | ||
set(CUDA_LIBRARY_DIR ${CUDA_TOOLKIT_ROOT_DIR}\lib\x64) | ||
set(CUDA_LIBRARY_STUBS_DIR ${CUDA_TOOLKIT_ROOT_DIR}\lib\x64\stubs) | ||
endif() | ||
|
||
set(CUDA_CUDA_LIB cuda) | ||
set(CUDA_NVRTC_LIB nvrtc) | ||
|
||
message(STATUS "CUDA_LIBRARY_DIR: ${CUDA_LIBRARY_DIR}") | ||
message(STATUS "CUDA_LIBRARY_STUBS_DIR: ${CUDA_LIBRARY_STUBS_DIR}") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#============================================================================= | ||
# Copyright 2018-2019 BlazingDB, Inc. | ||
# Copyright 2018 Christian Noboa Mardini <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#============================================================================= | ||
|
||
# Download and unpack google-benchmark at configure time | ||
configure_file(${CMAKE_SOURCE_DIR}/cmake/Templates/GoogleBenchmark.CMakeLists.txt.cmake | ||
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/download/CMakeLists.txt) | ||
|
||
execute_process( | ||
COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" . | ||
RESULT_VARIABLE result | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/download | ||
) | ||
|
||
if(result) | ||
message(FATAL_ERROR "CMake step for google benchmark failed: ${result}") | ||
endif() | ||
|
||
|
||
execute_process( | ||
COMMAND ${CMAKE_COMMAND} --build . | ||
RESULT_VARIABLE result | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/download | ||
) | ||
|
||
if(result) | ||
message(FATAL_ERROR "Build step for google benchmark failed: ${result}") | ||
endif() | ||
|
||
|
||
set(GOOGLE_BENCHMARK_LIB "benchmark") | ||
set(GOOGLE_BENCHMARK_MAIN_LIB "benchmark_main") | ||
set(GOOGLE_BENCHMARK_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/install") | ||
set(GOOGLE_BENCHMARK_INCLUDE_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/install/include") | ||
set(GOOGLE_BENCHMARK_LIBRARY_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/install/lib") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#============================================================================= | ||
# Copyright 2018-2019 BlazingDB, Inc. | ||
# Copyright 2018 Christian Noboa Mardini <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#============================================================================= | ||
|
||
cmake_minimum_required(VERSION 3.0) | ||
|
||
project(google-benchmark) | ||
|
||
include(ExternalProject) | ||
|
||
ExternalProject_Add( | ||
google-benchmark | ||
GIT_REPOSITORY https://github.com/google/benchmark.git | ||
GIT_TAG master | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/source" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/build" | ||
INSTALL_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/install" | ||
CMAKE_ARGS -DCMAKE_BUILD_TYPE=Release | ||
-DBENCHMARK_ENABLE_TESTING=OFF | ||
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF | ||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=OFF | ||
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/thirdparty/google-benchmark/install | ||
) |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use this for CI? @mike-wendt