author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
378,349 | 22.02.2017 00:39:55 | 21,600 | 42f4f6be8adb0c21cf6cbfc0c717c7959dd7ff93 | [JSON] Properties use the same JSON object merging function now | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/json.hpp",
"new_path": "include/occa/tools/json.hpp",
"diff": "@@ -39,6 +39,14 @@ namespace occa {\ntypedef std::vector<json> jsonArray_t;\n+ typedef struct {\n+ std::string string;\n+ primitive number;\n+ jsonObject_t object;\n+ jsonArray_t... | C++ | MIT License | libocca/occa | [JSON] Properties use the same JSON object merging function now |
378,349 | 23.02.2017 22:52:54 | 21,600 | d19c401b3032a7b1dce1366597939a3a6c1aaa9a | [JSON] Added [] operator for arrays, [OCCA] Added caching | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/args.hpp",
"new_path": "include/occa/tools/args.hpp",
"diff": "@@ -188,7 +188,9 @@ namespace occa {\nclass command : public parser {\npublic:\ntypedef bool (*callback_t)(const occa::args::command &command,\n- const json &info);\n+ jsonArray_... | C++ | MIT License | libocca/occa | [JSON] Added [] operator for arrays, [OCCA] Added caching |
378,349 | 24.02.2017 04:58:12 | 21,600 | ac45b529a073c49df83c8795ab705c49187aa90e | [CI] Fixed parser_sandbox json test | [
{
"change_type": "MODIFY",
"old_path": "parser_sandbox/tests/testJson.cpp",
"new_path": "parser_sandbox/tests/testJson.cpp",
"diff": "@@ -25,42 +25,42 @@ void testString() {\n// Normal strings\nj.load(\"\\\"A\\\"\");\nOCCA_TEST_COMPARE(occa::json::string_, j.type);\n- OCCA_TEST_COMPARE(\"A\", j.valu... | C++ | MIT License | libocca/occa | [CI] Fixed parser_sandbox json test |
378,349 | 25.02.2017 18:30:41 | 21,600 | 50f3c380dbc3390a0f16eb927cccb5716d56f4aa | [LICENCE] Update | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "# The MIT License (MIT)\n#\n-# Copyright (c) 2014-2016 David Medina and Tim Warburton\n+# Copyright (c) 2014-2017 David Medina and Tim Warburton\n#\n# Permission is hereby granted, free of charge, to any person obtai... | C++ | MIT License | libocca/occa | [LICENCE] Update |
378,349 | 25.02.2017 18:42:15 | 21,600 | e08874567bedcf6a49f38bd62be47d7e27b4dbb8 | [Array] Renamed entries -> size | [
{
"change_type": "MODIFY",
"old_path": "examples/usingArrays/main.cpp",
"new_path": "examples/usingArrays/main.cpp",
"diff": "@@ -112,7 +112,7 @@ void printVector(occa::array<TM,TMi> &a) {\nocca::finish();\nstd::cout << '[';\n- for (int i = 0; i < (int) a.entries(); ++i) {\n+ for (int i = 0; i < (in... | C++ | MIT License | libocca/occa | [Array] Renamed entries -> size |
378,349 | 26.02.2017 00:55:18 | 21,600 | 95ab7061740454d77a16eaa5d29eb2fe78f2dbc9 | [IO] occa:// was not looking at libraryPath, [Hash] Has isInitialized() | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/hash.hpp",
"new_path": "include/occa/tools/hash.hpp",
"diff": "@@ -43,6 +43,10 @@ namespace occa {\nhash_t(const hash_t &hash);\nhash_t& operator = (const hash_t &hash);\n+ void clear();\n+\n+ inline bool isInitialized() const { return initi... | C++ | MIT License | libocca/occa | [IO] occa:// was not looking at libraryPath, [Hash] Has isInitialized() |
378,349 | 05.03.2017 00:17:45 | 21,600 | ba4e8c8b4fc27a6e7e49056f6522cfe4ccacd1e3 | [Linalg] Reduction start is unique with min/max | [
{
"change_type": "MODIFY",
"old_path": "include/occa/array/kernels/linalg.okl",
"new_path": "include/occa/array/kernels/linalg.okl",
"diff": "#endif\n#define CPU_CHUNK ((entries + CPU_DOT_OUTER - 1)/ CPU_DOT_OUTER)\n-#define CPU_REDUCTION_BODY(OPERATION, RED_OPERATION) \\\n+#define CPU_REDUCTION_BOD... | C++ | MIT License | libocca/occa | [Linalg] Reduction start is unique with min/max |
378,349 | 05.03.2017 11:58:55 | 21,600 | 772cef6d6016d0b05b7f8bd2847b0a65c3f394c0 | [Args] callback wasn't initialized as NULL | [
{
"change_type": "MODIFY",
"old_path": "src/tools/args.cpp",
"new_path": "src/tools/args.cpp",
"diff": "@@ -382,7 +382,10 @@ namespace occa {\nvoid parser::printRequired(std::ostream &out) {}\n//---[ Command ]--------------------\n- command::command() {}\n+ command::command() :\n+ commandIsRequired(... | C++ | MIT License | libocca/occa | [Args] callback wasn't initialized as NULL |
378,349 | 06.03.2017 01:10:36 | 21,600 | 2cfff1f3c8b7c65b117b9ed2c84c1e571471e796 | [CUDA] Async copy was backwards, [Linalg] Reduction fix | [
{
"change_type": "MODIFY",
"old_path": "include/occa/array/array.tpp",
"new_path": "include/occa/array/array.tpp",
"diff": "namespace occa {\ntemplate <class TM, const int idxType>\narray<TM,idxType>::array() :\n+ device(),\n+ memory_(),\ndata_(NULL) {\n+ for (int i = 0; i < 6; ++i) {\n+ ks_[i] = 0;... | C++ | MIT License | libocca/occa | [CUDA] Async copy was backwards, [Linalg] Reduction fix |
378,349 | 07.03.2017 08:16:01 | 21,600 | d784deb5d5428fd957580a6e9982d491362d4139 | [Linalg] Fixed reduction issues, [OKL] Added support for OCCA_USING_<mode> and OCCA_USING_{GPU,CPU} in kernels | [
{
"change_type": "MODIFY",
"old_path": "include/occa/array/kernels/linalg.okl",
"new_path": "include/occa/array/kernels/linalg.okl",
"diff": "#define GPU_DOT_BLOCK (GPU_DOT_OUTER * GPU_DOT_INNER)\n+#if GPU_DOT_INNER >= (2*256)\n+# define DO_OPER_256 1\n+#else\n+# define DO_OPER_256 0\n+#endif\n+\n+#... | C++ | MIT License | libocca/occa | [Linalg] Fixed reduction issues, [OKL] Added support for OCCA_USING_<mode> and OCCA_USING_{GPU,CPU} in kernels |
378,349 | 11.03.2017 08:48:47 | 21,600 | 8ca3547feca2bd7b0cd8cb3b6ba8020e7d6d4ae0 | [Core] Removed OFL from API, [Parser] Fixed preprocessor2's error and warning ^ placement | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "[](https://gitter.im/libocca/occa?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\nOCCA is an ... | C++ | MIT License | libocca/occa | [Core] Removed OFL from API, [Parser] Fixed preprocessor2's error and warning ^ placement |
378,349 | 12.03.2017 00:22:51 | 21,600 | db2a7a7dd81e337077e027cfa254fcb57c3db830 | [Parser] Adding lang types | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "parser_sandbox/include/type.hpp",
"diff": "+#ifndef OCCA_PARSER_TYPE_HEADER2\n+#define OCCA_PARSER_TYPE_HEADER2\n+\n+#include <ostream>\n+#include <vector>\n+#include <map>\n+\n+#include \"occa/defines.hpp\"\n+#include \"occa/types.hpp\"\n+\n+na... | C++ | MIT License | libocca/occa | [Parser] Adding lang types |
378,349 | 12.03.2017 01:15:56 | 21,600 | c06491e022acad991b63eae546c695949247a600 | [Parser] Added reference and typedefType | [
{
"change_type": "MODIFY",
"old_path": "parser_sandbox/include/type.hpp",
"new_path": "parser_sandbox/include/type.hpp",
"diff": "@@ -27,9 +27,7 @@ namespace occa {\nstatic const int definedType = (1 << 5);\nspecifier(const int specType_);\n-\nspecifier(const std::string &name_, const int specType_)... | C++ | MIT License | libocca/occa | [Parser] Added reference and typedefType |
378,349 | 12.03.2017 03:17:00 | 18,000 | ad5f3fa276f57cfa1de2fe4a3e77cfba838bb3e1 | [Parser] Added function | [
{
"change_type": "MODIFY",
"old_path": "parser_sandbox/include/type.hpp",
"new_path": "parser_sandbox/include/type.hpp",
"diff": "namespace occa {\nnamespace lang {\nclass qualifier;\n+ class type;\n+\ntypedef std::vector<const qualifier*> qualifierVec_t;\n+ typedef std::vector<type*> typeVec_t;\n+\... | C++ | MIT License | libocca/occa | [Parser] Added function |
378,349 | 12.03.2017 04:11:12 | 18,000 | bf2e73e0287eca72dff989c6f277ead2affae7cb | [Parser] Renamed types to end with Type | [
{
"change_type": "MODIFY",
"old_path": "parser_sandbox/include/type.hpp",
"new_path": "parser_sandbox/include/type.hpp",
"diff": "@@ -122,11 +122,11 @@ namespace occa {\nvirtual void printOn(std::string &out) const;\n};\n- //---[ Primitive ]------------------\n- class primitive : public type {\n+ //... | C++ | MIT License | libocca/occa | [Parser] Renamed types to end with Type |
378,349 | 12.03.2017 11:18:33 | 18,000 | f58dfab951edb9b12299ca025041133c4016cb8b | [Parser] Fixed bug with nested #ifs | [
{
"change_type": "MODIFY",
"old_path": "include/occa/parser/tools.hpp",
"new_path": "include/occa/parser/tools.hpp",
"diff": "@@ -109,8 +109,6 @@ namespace occa {\nvoid compressAllWhitespace(std::string &str,\nconst int parsingLanguage_ = parserInfo::parsingC);\n- char* cReadFile(const std::string &... | C++ | MIT License | libocca/occa | [Parser] Fixed bug with nested #ifs |
378,349 | 12.03.2017 18:37:11 | 18,000 | 99b1b2cf7e6a3571f893a47a3977b0a7b966ef6b | [Memory] Added shorthand methods for memcpy and copy{To,From} | [
{
"change_type": "MODIFY",
"old_path": "include/occa/base.hpp",
"new_path": "include/occa/base.hpp",
"diff": "@@ -112,6 +112,18 @@ namespace occa {\nconst dim_t destOffset = 0,\nconst dim_t srcOffset = 0,\nconst occa::properties &props = properties());\n+\n+ void memcpy(void *dest, const void *src,\... | C++ | MIT License | libocca/occa | [Memory] Added shorthand methods for memcpy and copy{To,From} |
378,349 | 15.03.2017 07:07:05 | 18,000 | 9fbeb14d51df1a84c21055b42a09663d44fad60c | [Device] Made properties() non-constant (good to add things like compiler flags) | [
{
"change_type": "MODIFY",
"old_path": "include/occa/device.hpp",
"new_path": "include/occa/device.hpp",
"diff": "@@ -127,7 +127,7 @@ namespace occa {\nbool isInitialized();\nconst std::string& mode();\n- const occa::properties& properties();\n+ occa::properties& properties();\nvoid* getHandle(const... | C++ | MIT License | libocca/occa | [Device] Made properties() non-constant (good to add things like compiler flags) |
378,349 | 16.03.2017 15:59:57 | 18,000 | 06f127768ecc84019506b386975399d230c8bb5b | [Env] Added OCCA_VERBOSE, [Kernel] source.occa -> source.cpp | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/env.hpp",
"new_path": "include/occa/tools/env.hpp",
"diff": "#include \"occa/defines.hpp\"\n#include \"occa/types.hpp\"\n+#include \"occa/tools/string.hpp\"\nnamespace occa {\nnamespace env {\n@@ -45,6 +46,15 @@ namespace occa {\nstd::string... | C++ | MIT License | libocca/occa | [Env] Added OCCA_VERBOSE, [Kernel] source.occa -> source.cpp |
378,349 | 16.03.2017 16:25:56 | 18,000 | 2b7fa27112a737cb08e995e67b69aa237b71fb08 | [Make] Uses user-defined CXXFLAGS/FCFLAGS if available | [
{
"change_type": "MODIFY",
"old_path": "scripts/Makefile",
"new_path": "scripts/Makefile",
"diff": "@@ -45,6 +45,22 @@ testPath = $(PROJ_DIR)/tests\ndebugEnabled = 0\ncheckEnabled = 1\n+ifdef OCCA_DEVELOPER\n+ ifeq ($(OCCA_DEVELOPER),1)\n+ ifeq ($(DEBUG),0)\n+ debugEnabled = 0\n+ else\n+ debugEnable... | C++ | MIT License | libocca/occa | [Make] Uses user-defined CXXFLAGS/FCFLAGS if available |
378,349 | 16.03.2017 19:28:17 | 18,000 | 40e0913c3f52fee0d812069f5b9624d14b2ea6cb | [Make] Quoted variables in shellTools | [
{
"change_type": "MODIFY",
"old_path": "scripts/Makefile",
"new_path": "scripts/Makefile",
"diff": "@@ -128,6 +128,7 @@ ifndef CXXFLAGS\ncompilerFlags = $(releaseFlags) -DNDEBUG=1\nendif\nelse\n+ OCCA_DEBUG_ENABLED := 0\ncompilerFlags = $(CXXFLAGS)\nendif\n"
},
{
"change_type": "MODIFY",
... | C++ | MIT License | libocca/occa | [Make] Quoted variables in shellTools |
378,349 | 16.03.2017 19:55:57 | 18,000 | 8a5143b998260563b2cf1d6ad796bbf20120428c | [Make] Added additional CUDA header path | [
{
"change_type": "MODIFY",
"old_path": "scripts/shellTools.sh",
"new_path": "scripts/shellTools.sh",
"diff": "@@ -67,7 +67,7 @@ function dirWithFileInPath {\nlocal filename=\"$2\"\nif [ ! -z \"$path\" ]; then\n- for dir_ in \"${path//:/ }\"; do\n+ for dir_ in ${path//:/ }; do\nif ls \"$dir_/$filenam... | C++ | MIT License | libocca/occa | [Make] Added additional CUDA header path |
378,363 | 16.03.2017 21:04:19 | 25,200 | 4e2e928685f94b865011227ad4b4e2346cc3497d | Fix IBM compiler detection. | [
{
"change_type": "MODIFY",
"old_path": "scripts/compilerVendorTest.cpp",
"new_path": "scripts/compilerVendorTest.cpp",
"diff": "#define OCCA_NOT_FOUND 9\nint main(int argc, char **argv) {\n-#if defined(__clang__)\n- return OCCA_LLVM_VENDOR;\n+\n+#if defined(__xlc__) || defined(__xlC__) || defined(__... | C++ | MIT License | libocca/occa | Fix IBM compiler detection. (#54) |
378,349 | 19.03.2017 14:59:41 | 18,000 | c74bd893fa2775f09985ca738d73f7fdb5cb86ac | [Defines] Removed OMP atomic from Serial kernel defines | [
{
"change_type": "MODIFY",
"old_path": "include/occa/modes/cuda/memory.hpp",
"new_path": "include/occa/modes/cuda/memory.hpp",
"diff": "@@ -45,7 +45,7 @@ namespace occa {\n~memory();\nvoid* getHandle(const occa::properties &properties_) const;\n- kernelArg makeKernelArg() const const;\n+ kernelArg m... | C++ | MIT License | libocca/occa | [Defines] Removed OMP atomic from Serial kernel defines |
378,349 | 20.03.2017 01:13:16 | 14,400 | 318b852d53a1533f7895849b83bb1ab0a01c251d | [Memory] Added entries method | [
{
"change_type": "MODIFY",
"old_path": "include/occa/memory.hpp",
"new_path": "include/occa/memory.hpp",
"diff": "@@ -145,6 +145,14 @@ namespace occa {\nudim_t size() const;\n+ template <class TM>\n+ udim_t entries() const {\n+ if (mHandle == NULL) {\n+ return 0;\n+ }\n+ return (mHandle->size / size... | C++ | MIT License | libocca/occa | [Memory] Added entries method |
378,349 | 26.03.2017 21:42:21 | 18,000 | abc9a6c4eab385e7f73d4280e7690ddf36db978e | [UVA] Renamed uvaAlloc to umalloc | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -169,7 +169,7 @@ test:\nmake -j 4 CXXFLAGS='-g' FCFLAGS='-g' && \\\n./main\n- cd $(OCCA_DIR)/examples/uvaAddVectors/ && \\\n+ cd $(OCCA_DIR)/examples/unifiedMemoryAddVectors/ && \\\nrm -f main && \\\nmake -j 4 CXX... | C++ | MIT License | libocca/occa | [UVA] Renamed uvaAlloc to umalloc |
378,349 | 29.03.2017 22:02:44 | 18,000 | 6a5c613c9d8e17f5dcfd02db8a8b8b6cda1024e2 | [MPI] Fixed hash usage for buildKernel | [
{
"change_type": "MODIFY",
"old_path": "src/device.cpp",
"new_path": "src/device.cpp",
"diff": "@@ -306,12 +306,14 @@ namespace occa {\nif (!io::haveHash(hash, hashTag)) {\nio::waitForHash(hash, hashTag);\n- return buildKernelFromBinary(hashDir + kc::binaryFile,\n+ return buildKernel(stringSourceFil... | C++ | MIT License | libocca/occa | [MPI] Fixed hash usage for buildKernel |
378,349 | 31.03.2017 19:53:06 | 18,000 | df343db5353ed8a9ed4b966efa14596b2b39221b | [Memory] Added + operator for creating memory offsets | [
{
"change_type": "MODIFY",
"old_path": "include/occa/memory.hpp",
"new_path": "include/occa/memory.hpp",
"diff": "@@ -76,6 +76,8 @@ namespace occa {\nvirtual void* getHandle(const occa::properties &props) const = 0;\nvirtual kernelArg makeKernelArg() const = 0;\n+ virtual memory_v* addOffset(const d... | C++ | MIT License | libocca/occa | [Memory] Added + operator for creating memory offsets |
378,349 | 31.03.2017 19:59:01 | 18,000 | 791834681b2667071745991ffcf951f2bbf64baa | [Kernel] setRunDims now takes (outer,inner) instead of (inner,outer) to match CUDA format | [
{
"change_type": "MODIFY",
"old_path": "examples/nativeAddVectors/main.cpp",
"new_path": "examples/nativeAddVectors/main.cpp",
"diff": "@@ -42,7 +42,7 @@ int main(int argc, char **argv) {\no_a.copyFrom(a);\no_b.copyFrom(b);\n- addVectors.setRunDims(16, (entries + 15) / 16);\n+ addVectors.setRunDims(... | C++ | MIT License | libocca/occa | [Kernel] setRunDims now takes (outer,inner) instead of (inner,outer) to match CUDA format |
378,349 | 31.03.2017 22:30:06 | 18,000 | 2408da98e7fa18c1e250f04c112b96685763ac5b | [Make] Fixed sed issue with OSX | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -83,15 +83,15 @@ COMPILED_DEFINES_CHANGED := $(OCCA_DIR)/.compiledDefinesChanged\nMAKE_COMPILED_DEFINES := $(shell touch \"$(NEW_COMPILED_DEFINES)\")\nMAKE_COMPILED_DEFINES := $(shell cp \"$(NEW_COMPILED_DEFINES)\... | C++ | MIT License | libocca/occa | [Make] Fixed sed issue with OSX |
378,349 | 01.04.2017 20:18:25 | 18,000 | cde0920c9fcbf031c08c41b8e750ddcbf5478c46 | [Parser] Added if status logic | [
{
"change_type": "MODIFY",
"old_path": "parser_sandbox/include/preprocessor.hpp",
"new_path": "parser_sandbox/include/preprocessor.hpp",
"diff": "@@ -85,6 +85,7 @@ namespace occa {\nstatic directiveTrie_t& getDirectiveTrie();\nvoid pushStatus(const int status);\n+ int popStatus();\nvoid setFilename(... | C++ | MIT License | libocca/occa | [Parser] Added if status logic |
378,349 | 05.04.2017 16:56:47 | 18,000 | 3f372b3792131b04fa4eebc1ec57e13178138d0c | [OpenMP] Fixed OpenMP kernel defines | [
{
"change_type": "MODIFY",
"old_path": "include/occa/modes/openmp/kernelDefines.hpp",
"new_path": "include/occa/modes/openmp/kernelDefines.hpp",
"diff": "@@ -223,10 +223,10 @@ TM occaAtomicCAS(TM *ptr, const int comp, const TM &update) {\n//---[ Misc ]-------------------------------------\n-#define ... | C++ | MIT License | libocca/occa | [OpenMP] Fixed OpenMP kernel defines |
378,349 | 06.04.2017 18:37:49 | 18,000 | c5c0a47f0b7fb721ca3b1336aee00e5ebb7f9c78 | [CUDA] Wrong arg name in getHandle | [
{
"change_type": "MODIFY",
"old_path": "src/modes/cuda/memory.cpp",
"new_path": "src/modes/cuda/memory.cpp",
"diff": "@@ -37,7 +37,7 @@ namespace occa {\nmemory::~memory() {}\nvoid* memory::getHandle(const occa::properties &properties_) const {\n- if (props.get<bool>(\"mapped\", false)) {\n+ if (pro... | C++ | MIT License | libocca/occa | [CUDA] Wrong arg name in getHandle |
378,349 | 06.04.2017 19:48:20 | 18,000 | b92278f53e542a3c2c6eeecc09d851f9a22706ab | [sys] Added 2 more signal catches | [
{
"change_type": "MODIFY",
"old_path": "src/tools/env.cpp",
"new_path": "src/tools/env.cpp",
"diff": "@@ -65,6 +65,8 @@ namespace occa {\n#if (OCCA_OS & (OCCA_LINUX_OS | OCCA_OSX_OS))\n::signal(SIGKILL, env::signalExit);\n::signal(SIGQUIT, env::signalExit);\n+ ::signal(SIGUSR1, env::signalExit);\n+ ... | C++ | MIT License | libocca/occa | [sys] Added 2 more signal catches |
378,349 | 06.04.2017 19:53:49 | 18,000 | 1f0c04ae7e5bf28e15cfe7b5a0e177268c962d95 | [sys] Added 1 more signal catch | [
{
"change_type": "MODIFY",
"old_path": "src/tools/env.cpp",
"new_path": "src/tools/env.cpp",
"diff": "@@ -62,6 +62,7 @@ namespace occa {\n// Signal handling\n::signal(SIGTERM, env::signalExit);\n::signal(SIGINT , env::signalExit);\n+ ::signal(SIGABRT, env::signalExit);\n#if (OCCA_OS & (OCCA_LINUX_OS... | C++ | MIT License | libocca/occa | [sys] Added 1 more signal catch |
378,349 | 06.04.2017 19:57:19 | 18,000 | a2808ac86f568bf1006c9ae58f5aef0a023207f7 | [Bug] Fixed some ss.str().c_str() | [
{
"change_type": "MODIFY",
"old_path": "src/modes/openmp/utils.cpp",
"new_path": "src/modes/openmp/utils.cpp",
"diff": "@@ -87,7 +87,8 @@ namespace occa {\n<< \" -o \" << binaryFilename\n<< \" > /dev/null 2>&1\";\n- const int compileError = system(ss.str().c_str());\n+ const std::string compileLine ... | C++ | MIT License | libocca/occa | [Bug] Fixed some ss.str().c_str() |
378,349 | 07.04.2017 08:20:26 | 18,000 | 19c8c1819156152976a679d3a14aeb501c3c18cb | [GC] Building kernels and memory objects increases the device reference count | [
{
"change_type": "MODIFY",
"old_path": "examples/addVectors/cpp/main.cpp",
"new_path": "examples/addVectors/cpp/main.cpp",
"diff": "int main(int argc, char **argv) {\nocca::printModeInfo();\n-\nint entries = 5;\nfloat *a = new float[entries];\n@@ -59,9 +58,10 @@ int main(int argc, char **argv) {\nst... | C++ | MIT License | libocca/occa | [GC] Building kernels and memory objects increases the device reference count |
378,349 | 07.04.2017 09:57:31 | 18,000 | aa094df8418337d19261c6dab455e095327702d2 | [Device] malloc and umalloc now has a 2-arg method | [
{
"change_type": "MODIFY",
"old_path": "include/occa/device.hpp",
"new_path": "include/occa/device.hpp",
"diff": "@@ -190,10 +190,16 @@ namespace occa {\nconst void *src = NULL,\nconst occa::properties &props = occa::properties());\n+ occa::memory malloc(const dim_t bytes,\n+ const occa::properties ... | C++ | MIT License | libocca/occa | [Device] malloc and umalloc now has a 2-arg method |
378,349 | 08.04.2017 21:45:19 | 18,000 | dde1844d7331ed29d5f201303a8f44488c89964e | [GC] kernelBuilder works with GC, fixed GC with UM | [
{
"change_type": "MODIFY",
"old_path": "include/occa/array/array.tpp",
"new_path": "include/occa/array/array.tpp",
"diff": "@@ -287,6 +287,7 @@ namespace occa {\nvoid array<TM,idxType>::allocate() {\ndata_ = (TM*) device.umalloc(bytes());\nmemory_ = occa::memory(data_);\n+ memory_.getMHandle()->setR... | C++ | MIT License | libocca/occa | [GC] kernelBuilder works with GC, fixed GC with UM |
378,349 | 09.04.2017 15:01:33 | 18,000 | c57f538f7c425e0c839912f930613b6b0921f33a | [UM] Fixed some uva issues | [
{
"change_type": "MODIFY",
"old_path": "include/occa/uva.hpp",
"new_path": "include/occa/uva.hpp",
"diff": "@@ -76,15 +76,15 @@ namespace occa {\nvoid startManaging(void *ptr);\nvoid stopManaging(void *ptr);\n- void syncToDevice(void *ptr, const udim_t bytes = 0);\n- void syncFromDevice(void *ptr, c... | C++ | MIT License | libocca/occa | [UM] Fixed some uva issues |
378,349 | 13.05.2017 10:58:03 | 18,000 | 4554c28c6ca17176396173e676d31a4690476a57 | [README] Updates | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "[](https://travis-ci.org/libocca/occa)\n[](https://coveral... | C++ | MIT License | libocca/occa | [README] Updates |
378,346 | 11.10.2017 15:40:51 | 18,000 | 87cdcd5eb46948f0b6af97db64cf74807084514c | [Make] Updating shelltools for OpenCL on ROCm
* [occa]: updating shelltools script with include and library paths for OpenCL in ROCm.
OCCA now successfully builds with, "make CXX=hcc" on my dual radeon box.
Examples appear to be working correctly.
* [occa]: converting from x86_64 to * for path to OpenCL on ROCm | [
{
"change_type": "MODIFY",
"old_path": "scripts/shellTools.sh",
"new_path": "scripts/shellTools.sh",
"diff": "@@ -101,6 +101,7 @@ function defaultIncludePath {\nmergedPaths+=\":$CPLUS_INCLUDE_PATH\"\nmergedPaths+=\":$C_INCLUDE_PATH\"\nmergedPaths+=\":$INCLUDEPATH\"\n+ mergedPaths+=\":/opt/rocm/openc... | C++ | MIT License | libocca/occa | [Make] Updating shelltools for OpenCL on ROCm (#68)
* [occa]: updating shelltools script with include and library paths for OpenCL in ROCm.
OCCA now successfully builds with, "make CXX=hcc" on my dual radeon box.
Examples appear to be working correctly.
* [occa]: converting from x86_64 to * for path to OpenCL on ROCm |
378,364 | 01.12.2017 23:17:11 | 18,000 | 10aa40b86c67f83f3ef59e1f461f3bc31181aac9 | [Make] Add /opt/cuda to include/lib search path
The cuda libraries, tools, and libraries are installed to /opt/cuda on
Arch linux (and perhaps other linux distributions). Add these to the
search path. | [
{
"change_type": "MODIFY",
"old_path": "scripts/shellTools.sh",
"new_path": "scripts/shellTools.sh",
"diff": "@@ -106,6 +106,7 @@ function defaultIncludePath {\nmergedPaths+=\":/Developer/NVIDIA/CUDA*/include\"\nmergedPaths+=\":/usr/local/cuda*/targets/*/include/\"\nmergedPaths+=\":/usr/include\"\n+... | C++ | MIT License | libocca/occa | [Make] Add /opt/cuda to include/lib search path (#75)
The cuda libraries, tools, and libraries are installed to /opt/cuda on
Arch linux (and perhaps other linux distributions). Add these to the
search path. |
378,349 | 22.02.2018 03:27:09 | 21,600 | a098a811e635b89c7ef678f89520e3785be045e0 | [README] Autocomplete doc update | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -69,18 +69,12 @@ Arguments:\nCOMMAND Command to run\n```\n-#### Linux Autocomplete\n+#### Bash Autocomplete\n```bash\n. <(occa autocomplete bash)\n```\n-#### Mac OSX Autocomplete\n-\n-```bash\n-eval \"$(occa aut... | C++ | MIT License | libocca/occa | [README] Autocomplete doc update |
378,349 | 29.04.2018 22:56:46 | 18,000 | d9d9ebeb6f351f25600d82d73d220dc22bf861d3 | [README] Fixed links | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "In a nutshell, OCCA (like *oca*-rina) is an open-source library which aims to\n- Make it easy to program different types of devices (e.g. _CPU_, _GPU_, _FPGA_)\n-- Provide a [unified API](/guide/occa/introduction) ... | C++ | MIT License | libocca/occa | [README] Fixed links |
378,349 | 05.05.2018 10:23:40 | 18,000 | 75d17cee8a70086c2c74f31531f3c4228edc41f0 | [Github] Added pull request template | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/pull_request_template.md",
"diff": "+<!-- Thank you for contributing!! :) -->\n+\n+### Description\n+\n+Description for the pull request\n+\n+### Checks\n+- [ ] Nothing got committed into `./lib` and `./obj`\n+- [ ] MIT License copyright... | C++ | MIT License | libocca/occa | [Github] Added pull request template |
378,360 | 06.07.2018 22:29:28 | 18,000 | a7c578c7ab27469a02c81f353e6804725ac59f6e | [CLI,#155] Added -v/--verbose flag | [
{
"change_type": "MODIFY",
"old_path": "scripts/occa.cpp",
"new_path": "scripts/occa.cpp",
"diff": "@@ -249,7 +249,14 @@ bool runTranslate(const cli::command &command,\n::exit(1);\n}\n- properties kernelProps = getOptionProperties(options, \"kernel-props\");\n+ bool isVerbose = ( options.find(\"verb... | C++ | MIT License | libocca/occa | [CLI,#155] Added -v/--verbose flag (#156) |
378,355 | 20.07.2018 19:17:57 | 18,000 | 86efdafe419a7d2312f6b1d50bcdd845320416c6 | [Parser] Fixed an issue where register variables initialized to values in shared were being migrated in OpenCL mode | [
{
"change_type": "MODIFY",
"old_path": "src/lang/modes/opencl.cpp",
"new_path": "src/lang/modes/opencl.cpp",
"diff": "@@ -242,8 +242,13 @@ namespace occa {\nstatementExprMap::iterator it = exprMap.begin();\nwhile (it != exprMap.end()) {\ndeclarationStatement &declSmnt = *((declarationStatement*) it-... | C++ | MIT License | libocca/occa | [Parser] Fixed an issue where register variables initialized to values in shared were being migrated in OpenCL mode (#167) |
378,355 | 19.07.2018 13:58:58 | 18,000 | 7e555a62b5c67865eeb1676797521da10c850cab | [HIP] Fixed a subtle bug regarding how HIP expects kernel arguments to be byte-align and packed. | [
{
"change_type": "MODIFY",
"old_path": "src/mode/hip/kernel.cpp",
"new_path": "src/mode/hip/kernel.cpp",
"diff": "@@ -92,6 +92,7 @@ namespace occa {\nconst int kArgCount = (int) arguments.size();\nint argc = 0;\n+ int rem = 0;\nfor (int i = 0; i < kArgCount; ++i) {\nconst kArgVector &iArgs = argumen... | C++ | MIT License | libocca/occa | [HIP] Fixed a subtle bug regarding how HIP expects kernel arguments to be byte-align and packed. |
378,355 | 19.07.2018 17:22:41 | 18,000 | 5e8e5ace3cc749b971194479310d1b26b43a20df | [HIP] Adding target architecture compiler flag to hipcc command | [
{
"change_type": "MODIFY",
"old_path": "include/occa/mode/hip/device.hpp",
"new_path": "include/occa/mode/hip/device.hpp",
"diff": "@@ -81,6 +81,8 @@ namespace occa {\nconst hash_t kernelHash,\nconst occa::properties &props);\n+ void setArchCompilerFlags(occa::properties &kernelProps);\n+\nvoid comp... | C++ | MIT License | libocca/occa | [HIP] Adding target architecture compiler flag to hipcc command |
378,355 | 20.07.2018 09:41:23 | 18,000 | 31e3f6b07259ba536afc7b6635b387c44e59dabb | [GPU] Forwarding getMappedPtr changes to HIP | [
{
"change_type": "MODIFY",
"old_path": "include/occa/mode/hip/memory.hpp",
"new_path": "include/occa/mode/hip/memory.hpp",
"diff": "@@ -41,6 +41,8 @@ namespace occa {\nconst udim_t bytes,\nconst occa::properties &props);\n+ friend void* getMappedPtr(occa::memory mem);\n+\npublic:\nhipDeviceptr_t hip... | C++ | MIT License | libocca/occa | [GPU] Forwarding getMappedPtr changes to HIP |
378,355 | 14.08.2018 15:47:22 | 18,000 | 89cb85fad081a90d1256961ba14010df2d19a5d2 | [HIP] Some styling clean-up | [
{
"change_type": "MODIFY",
"old_path": "src/mode/hip/kernel.cpp",
"new_path": "src/mode/hip/kernel.cpp",
"diff": "@@ -100,18 +100,20 @@ namespace occa {\ncontinue;\n}\nfor (int ai = 0; ai < argCount; ++ai) {\n- size_t Nbytes;\n+ size_t bytes;\nif (rem+iArgs[ai].size <= sizeof(void*)) {\n- Nbytes = i... | C++ | MIT License | libocca/occa | [HIP] Some styling clean-up |
378,349 | 17.02.2019 13:59:08 | 21,600 | 707f86936fe88bb79459f9e8c4a782a419d369d9 | [License] Updated 2018 -> 2019 | [
{
"change_type": "MODIFY",
"old_path": "LICENSE",
"new_path": "LICENSE",
"diff": "The MIT License (MIT)\n-Copyright (c) 2014-2018 David Medina and Tim Warburton\n+Copyright (c) 2014-2019 David Medina and Tim Warburton\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof ... | C++ | MIT License | libocca/occa | [License] Updated 2018 -> 2019 |
378,355 | 13.05.2019 17:09:42 | 18,000 | 92164d6960eac6573e317021b17941cb9b5d54ec | [HIP/OpenCL] Updates for HIP backend and updating deprecated OpenCL APIs | [
{
"change_type": "MODIFY",
"old_path": "include/occa/modes/hip/device.hpp",
"new_path": "include/occa/modes/hip/device.hpp",
"diff": "# ifndef OCCA_MODES_HIP_DEVICE_HEADER\n# define OCCA_MODES_HIP_DEVICE_HEADER\n-#include <occa/core/device.hpp>\n+#include <occa/core/launchedDevice.hpp>\n#include <hi... | C++ | MIT License | libocca/occa | [HIP/OpenCL] Updates for HIP backend and updating deprecated OpenCL APIs |
378,355 | 14.05.2019 15:44:13 | 18,000 | ebdb659c804f91f1e0f32fd700f9fe229458033c | Update src/modes/hip/utils.cpp | [
{
"change_type": "MODIFY",
"old_path": "src/modes/hip/utils.cpp",
"new_path": "src/modes/hip/utils.cpp",
"diff": "@@ -156,7 +156,7 @@ namespace occa {\nocca::properties allProps;\nallProps[\"mode\"] = \"HIP\";\n- allProps[\"deviceID\"] = -1;\n+ allProps[\"device_id\"] = -1;\nallProps[\"wrapped\"] = ... | C++ | MIT License | libocca/occa | Update src/modes/hip/utils.cpp
Co-Authored-By: David Medina <dmed256@gmail.com> |
378,349 | 21.07.2019 22:55:16 | 18,000 | a55b50ca3db6770195ca0367288526eb10046414 | [Defines] Updates OCCA version | [
{
"change_type": "MODIFY",
"old_path": "include/occa/defines/occa.hpp",
"new_path": "include/occa/defines/occa.hpp",
"diff": "#define OCCA_MAJOR_VERSION 1\n#define OCCA_MINOR_VERSION 0\n-#define OCCA_PATCH_VERSION 8\n-#define OCCA_VERSION 10008\n-#define OCCA_VERSION_STR \"1.0.8\"\n+#define OCCA_PAT... | C++ | MIT License | libocca/occa | [Defines] Updates OCCA version (#234) |
378,343 | 01.08.2019 13:41:19 | 18,000 | e84a529c6dfb7f2a6777347b0b45e6d0a32c6c58 | Copy to prefix instead of prefix/subfolder | [
{
"change_type": "MODIFY",
"old_path": "include/occa/scripts/shellTools.sh",
"new_path": "include/occa/scripts/shellTools.sh",
"diff": "@@ -542,8 +542,8 @@ function installOcca {\nreturn\nfi\nmkdir -p \"${PREFIX}\"\n- cp -r bin \"${PREFIX}/bin\"\n- cp -r include \"${PREFIX}/include\"\n- cp -r lib \"... | C++ | MIT License | libocca/occa | Copy to prefix instead of prefix/subfolder |
378,343 | 01.08.2019 14:03:26 | 18,000 | ce4df262600bfc06ade8812cb67e8da1ec1c37a1 | Add a warning if install prefix exists | [
{
"change_type": "MODIFY",
"old_path": "include/occa/scripts/shellTools.sh",
"new_path": "include/occa/scripts/shellTools.sh",
"diff": "@@ -541,7 +541,11 @@ function installOcca {\nif [ -z \"${PREFIX}\" ]; then\nreturn\nfi\n+ if [ -d \"${PREFIX}\" ]; then\n+ echo \"Warning: Install PREFIX=${PREFIX} ... | C++ | MIT License | libocca/occa | Add a warning if install prefix exists |
378,349 | 14.10.2019 23:22:14 | 18,000 | bb7e1730165c4b17b62206ea5bf7a461340262a9 | [OpenCL] Adds @ global attribute | [
{
"change_type": "MODIFY",
"old_path": "include/occa/lang/builtins/attributes.hpp",
"new_path": "include/occa/lang/builtins/attributes.hpp",
"diff": "#include <occa/lang/builtins/attributes/barrier.hpp>\n#include <occa/lang/builtins/attributes/dim.hpp>\n#include <occa/lang/builtins/attributes/exclus... | C++ | MIT License | libocca/occa | [OpenCL] Adds @ global attribute |
378,353 | 03.09.2019 09:16:00 | -7,200 | a9baf3b7f6f12b011a54130126fdce5dc270a228 | Fixed compile of CPP examples. | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/01_add_vectors/CMakeLists.txt",
"new_path": "examples/cpp/01_add_vectors/CMakeLists.txt",
"diff": "-COMPILE_C_EXAMPLE(01_add_vectors main.cpp)\n+COMPILE_CPP_EXAMPLE(01_add_vectors main.cpp)\n"
},
{
"change_type": "MODIFY",
"old_path": ... | C++ | MIT License | libocca/occa | Fixed compile of CPP examples. |
378,353 | 03.09.2019 14:44:37 | -7,200 | e4a557ee72a4b8da0cd434f3b293e43067752bec | Added OCCA_BINARY_DIR to specify build directory. | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/env.hpp",
"new_path": "include/occa/tools/env.hpp",
"diff": "@@ -17,6 +17,7 @@ namespace occa {\nextern size_t OCCA_MEM_BYTE_ALIGN;\nextern strVector OCCA_PATH;\nextern bool OCCA_COLOR_ENABLED;\n+ extern std::string OCCA_BINARY_DIR;\npropert... | C++ | MIT License | libocca/occa | Added OCCA_BINARY_DIR to specify build directory. |
378,353 | 06.09.2019 13:45:26 | -7,200 | e1518deddc188b2d28d9a43010791af3705fc2fa | Adding dependencies of examples. | [
{
"change_type": "MODIFY",
"old_path": "examples/c/01_add_vectors/CMakeLists.txt",
"new_path": "examples/c/01_add_vectors/CMakeLists.txt",
"diff": "COMPILE_C_EXAMPLE(01_add_vector main.c)\nADD_CUSTOM_TARGET(c_example_01_addVectors_okl ALL COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SO... | C++ | MIT License | libocca/occa | Adding dependencies of examples. |
378,353 | 09.09.2019 14:47:52 | -7,200 | 17843ab5eede9fc8c83fbaa5a4d9bd85d3a65bb1 | [CMake] OpenMP support is now optional. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -19,16 +19,20 @@ project (occa)\nOPTION(ALLOW_CUDA \"Allow CUDA\" ON)\nOPTION(ALLOW_MPI \"Allow MPI\" OFF)\n+OPTION(ALLOW_OPENMP \"Allow OpenMP\" ON)\nset(PROJ_DIR ${CMAKE_CURRENT_SOURCE_DIR})\nlink_di... | C++ | MIT License | libocca/occa | [CMake] OpenMP support is now optional. |
378,353 | 09.09.2019 16:23:34 | -7,200 | 93621e4dd84c600b064c131dc3936726e8459731 | [CMake] OpenCL support is now optional. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -20,6 +20,7 @@ project (occa)\nOPTION(ALLOW_CUDA \"Allow CUDA\" ON)\nOPTION(ALLOW_MPI \"Allow MPI\" OFF)\nOPTION(ALLOW_OPENMP \"Allow OpenMP\" ON)\n+OPTION(ALLOW_OPENCL \"Allow OpenCL\" ON)\nset(PROJ_D... | C++ | MIT License | libocca/occa | [CMake] OpenCL support is now optional. |
378,353 | 10.09.2019 10:37:55 | -7,200 | 11c4b347c7788da3a445a144bcc69c683547d35f | [CMake] Added install targets. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -63,8 +63,11 @@ SET(OCCA_BINARY_DIR ${PROJECT_BINARY_DIR} )\nCONFIGURE_FILE( scripts/compiledDefinesTemplate.hpp.in ${PROJECT_BINARY_DIR}/occa/defines/compiledDefines.hpp )\n# will not work because bui... | C++ | MIT License | libocca/occa | [CMake] Added install targets. |
378,353 | 11.09.2019 13:02:01 | -7,200 | 420be789321989a83eee7783acb4d8f1328dce91 | [CMake] OS no longer hardcoded. Metal supported on OSX. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -17,10 +17,13 @@ ENDIF()\n# Set project\nproject (occa)\n+include(OS)\n+\nOPTION(ALLOW_CUDA \"Allow CUDA\" ON)\nOPTION(ALLOW_MPI \"Allow MPI\" OFF)\nOPTION(ALLOW_OPENMP \"Allow OpenMP\" ON)\nOPTION(ALL... | C++ | MIT License | libocca/occa | [CMake] OS no longer hardcoded. Metal supported on OSX. |
378,349 | 28.10.2019 08:23:16 | 25,200 | 132ef64a4ddfd6543946444362b1960a473808b1 | [CMake] Removed OCCA_BINARY_DIR for now, added CMake Travis job | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -73,6 +73,24 @@ matrix:\n- ubuntu-toolchain-r-test\npackages:\n- g++-7\n+ - name: \"gcc-7 (CMake)\"\n+ env:\n+ - CC=gcc-7\n+ - CXX=g++-7\n+ - OCCA_COVERAGE=1\n+ addons:\n+ apt:\n+ sources:\n+ - ubuntu-toolch... | C++ | MIT License | libocca/occa | [CMake] Removed OCCA_BINARY_DIR for now, added CMake Travis job |
378,349 | 30.11.2019 00:27:43 | 21,600 | de598e65036b444bbf700b05e3981b31254144a2 | [Make] Updates to use C++11 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -13,7 +13,7 @@ compiler: gcc\nenv:\nglobal:\n- LD_LIBRARY_PATH=\"${TRAVIS_BUILD_DIR}/lib:${LD_LIBRARY_PATH}\"\n- - CXXFLAGS=\"-g -O0 -fno-inline\"\n+ - DEBUG=1\nbefore_install:\n- |\n"
},
{
"change_t... | C++ | MIT License | libocca/occa | [Make] Updates to use C++11 |
378,349 | 30.11.2019 00:28:22 | 21,600 | c61d636fafd35014aac6f26ef8490c7655c2d6ba | [Memory] Adds typed ptr() and use_host_pointer for CPU modes | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -26,15 +26,13 @@ before_install:\nif [ -n \"${MATRIX_INIT}\" ]; then\neval \"${MATRIX_INIT}\"\nfi\n- export BUILD_CXXFLAGS=\"${CXXFLAGS}\"\n- export TEST_CXXFLAGS=\"${CXXFLAGS}\"\nscript:\n- cd ${TRAVIS_BUIL... | C++ | MIT License | libocca/occa | [Memory] Adds typed ptr() and use_host_pointer for CPU modes |
378,349 | 30.11.2019 02:55:08 | 21,600 | 591b5bb889fad71d648552c648d37349601b7d23 | [Make] Fixed C++11 compiler flags | [
{
"change_type": "MODIFY",
"old_path": "include/occa/scripts/shellTools.sh",
"new_path": "include/occa/scripts/shellTools.sh",
"diff": "@@ -362,6 +362,8 @@ function compilerVendor {\n}\nfunction compilerCpp11Flags {\n+ local vendor=$(compilerVendor \"$1\")\n+\ncase \"$vendor\" in\nGCC|LLVM|INTEL|PGI... | C++ | MIT License | libocca/occa | [Make] Fixed C++11 compiler flags |
378,349 | 30.11.2019 01:39:12 | 21,600 | f813c34bd1846c2250a7e5375c177bc16bb4c208 | [Core] Adds templated malloc | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/01_add_vectors/main.cpp",
"new_path": "examples/cpp/01_add_vectors/main.cpp",
"diff": "@@ -46,7 +46,7 @@ int main(int argc, const char **argv) {\n// Allocate memory on the device\no_a = device.malloc(entries, occa::dtype::float_);\n// Primitive ty... | C++ | MIT License | libocca/occa | [Core] Adds templated malloc |
378,349 | 30.11.2019 13:44:51 | 21,600 | 42a605ddb8d728dcd7e42461e57dc764d55ef4d0 | [Valgrind] Removed bad access to json.initialized | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/json.hpp",
"new_path": "include/occa/tools/json.hpp",
"diff": "@@ -231,7 +231,7 @@ namespace occa {\nreturn *this;\n}\n- virtual bool isInitialized();\n+ virtual bool isInitialized() const;\njson& load(const char *&c);\njson& load(const std:... | C++ | MIT License | libocca/occa | [Valgrind] Removed bad access to json.initialized |
378,349 | 30.11.2019 15:02:21 | 21,600 | 6e7fc30bb5ec28d2fb83aceb02d3f1d82c6c433f | [Memory] Adds own_host_pointer flag to malloc and wrapMemory | [
{
"change_type": "MODIFY",
"old_path": "src/core/memory.cpp",
"new_path": "src/core/memory.cpp",
"diff": "@@ -598,10 +598,12 @@ namespace occa {\nvoid *ptr,\nconst udim_t bytes,\nconst occa::properties &props) {\n- occa::properties memProps = props;\n- memProps[\"use_host_pointer\"] = true;\n+ stati... | C++ | MIT License | libocca/occa | [Memory] Adds own_host_pointer flag to malloc and wrapMemory |
378,349 | 01.12.2019 20:23:15 | 21,600 | 268369ce87f0b551b08da16218f90d970a944163 | [BG] Fixes <void> templated malloc | [
{
"change_type": "MODIFY",
"old_path": "include/occa/core/base.hpp",
"new_path": "include/occa/core/base.hpp",
"diff": "@@ -68,21 +68,27 @@ namespace occa {\ntemplate <class TM = void>\nocca::memory malloc(const dim_t entries,\nconst void *src = NULL,\n- const occa::properties &props = occa::propert... | C++ | MIT License | libocca/occa | [BG] Fixes <void> templated malloc |
378,349 | 03.12.2019 12:29:49 | 18,000 | 1a58917699eecac2d72b45ccf090e8b0a6f68b8b | [Serial] Fixes lack of C++11 flags when compiling kernels | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools.hpp",
"new_path": "include/occa/tools.hpp",
"diff": "#include <occa/tools/sys.hpp>\n#include <occa/tools/tls.hpp>\n#include <occa/tools/uva.hpp>\n+#include <occa/tools/vector.hpp>\n#endif\n"
},
{
"change_type": "MODIFY",
"old_pat... | C++ | MIT License | libocca/occa | [Serial] Fixes lack of C++11 flags when compiling kernels |
378,349 | 04.12.2019 18:54:53 | 18,000 | aea235804c2a55800600dc6a9f532de46b80e26c | [Env] Fixed missing slash in cache dir | [
{
"change_type": "MODIFY",
"old_path": "src/tools/env.cpp",
"new_path": "src/tools/env.cpp",
"diff": "@@ -141,6 +141,7 @@ namespace occa {\nenv::OCCA_CACHE_DIR = ss.str();\n}\nenv::OCCA_CACHE_DIR = io::filename(env::OCCA_CACHE_DIR);\n+ io::endWithSlash(env::OCCA_CACHE_DIR);\nif (!io::isDir(env::OCCA... | C++ | MIT License | libocca/occa | [Env] Fixed missing slash in cache dir |
378,349 | 06.12.2019 23:04:43 | 18,000 | 323372b4e404a58afb0046a23b0c51066d9960b6 | [Kernel] Adds initialization check on kernel call | [
{
"change_type": "MODIFY",
"old_path": "scripts/setup_kernel_operators.py",
"new_path": "scripts/setup_kernel_operators.py",
"diff": "@@ -119,6 +119,7 @@ def operator_definition(N):\ncontent += operator_args(N, indent, 'const kernelArg &')\nif N > 0:\ncontent += ''') const {{\n+ assertInitialized();... | C++ | MIT License | libocca/occa | [Kernel] Adds initialization check on kernel call (#268) |
378,349 | 06.12.2019 23:04:55 | 18,000 | 4b01a583d7e4e97ac6192102173a4aabcd52b04e | [Serial] Fix use_host_pointer when ptr is NULL | [
{
"change_type": "MODIFY",
"old_path": "src/modes/serial/device.cpp",
"new_path": "src/modes/serial/device.cpp",
"diff": "@@ -356,7 +356,7 @@ namespace occa {\nconst occa::properties &props) {\nmemory *mem = new memory(this, bytes, props);\n- if (props.get(\"use_host_pointer\", false)) {\n+ if (src ... | C++ | MIT License | libocca/occa | [Serial] Fix use_host_pointer when ptr is NULL (#267) |
378,349 | 07.12.2019 02:52:52 | 18,000 | 9fa9e11290124948bf1e599578660fe4c5c63cf7 | [Dev] Adds okl-mode.el | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "scripts/okl-mode.el",
"diff": "+(require 'cc-mode)\n+\n+(eval-when-compile\n+ (require 'cc-langs)\n+ (require 'cc-fonts))\n+\n+(eval-and-compile\n+ (c-add-language 'okl-mode 'objc-mode))\n+\n+(c-lang-defconst c-primitive-type-kwds\n+ \"Primitive... | C++ | MIT License | libocca/occa | [Dev] Adds okl-mode.el (#269) |
378,349 | 07.12.2019 03:10:40 | 18,000 | 67b4ba44679b40ab64506f4a0df9b7500625f731 | [Dev] Updates annotation coloring | [
{
"change_type": "MODIFY",
"old_path": "scripts/okl-mode.el",
"new_path": "scripts/okl-mode.el",
"diff": "@@ -29,8 +29,11 @@ Each list item should be a regexp matching a single identifier.\")\n(defconst okl-font-lock-keywords-2 (c-lang-const c-matchers-2 objc)\n\"Fast normal highlighting for OKL mod... | C++ | MIT License | libocca/occa | [Dev] Updates annotation coloring |
378,349 | 07.12.2019 03:15:58 | 18,000 | 0a776961f420e0eb7c46d8cefdc35644a93b43e0 | [Dev] Keeps more C++ syntax highlighting | [
{
"change_type": "MODIFY",
"old_path": "scripts/okl-mode.el",
"new_path": "scripts/okl-mode.el",
"diff": "\"*List of extra types (aside from the type keywords) to recognize in OKL mode.\nEach list item should be a regexp matching a single identifier.\")\n-(defconst okl-font-lock-keywords-1 (c-lang-c... | C++ | MIT License | libocca/occa | [Dev] Keeps more C++ syntax highlighting |
378,349 | 07.12.2019 09:12:26 | 18,000 | 711709e910a8958d38f7165e1c708be7fdd0c33d | [Dev] okl-mode crashes less | [
{
"change_type": "MODIFY",
"old_path": "scripts/okl-mode.el",
"new_path": "scripts/okl-mode.el",
"diff": "\"float2\" \"float3\" \"float4\"\n\"double2\" \"double3\" \"double4\")))\n+;; Required defines for extending C++ mode\n+(c-lang-defconst c-opt-friend-key\n+ okl (c-lang-const c-opt-friend-key c+... | C++ | MIT License | libocca/occa | [Dev] okl-mode crashes less |
378,349 | 07.12.2019 11:42:15 | 18,000 | 7aff4803e6a6f6dde03683718d300ba588fb9eae | [Kernel] Adds occa::null | [
{
"change_type": "MODIFY",
"old_path": "include/occa/core/kernelArg.hpp",
"new_path": "include/occa/core/kernelArg.hpp",
"diff": "@@ -17,8 +17,16 @@ namespace occa {\nnamespace kArgInfo {\nstatic const char none = 0;\nstatic const char usePointer = (1 << 0);\n+ static const char isNull = (1 << 1);\n... | C++ | MIT License | libocca/occa | [Kernel] Adds occa::null (#270) |
378,349 | 07.12.2019 22:34:35 | 18,000 | 86dead2584f4d2479e092935a26350a7bd6b2b25 | [OpenCL] Fixed OpenCL timing | [
{
"change_type": "MODIFY",
"old_path": "src/modes/opencl/device.cpp",
"new_path": "src/modes/opencl/device.cpp",
"diff": "@@ -141,7 +141,7 @@ namespace occa {\nfinish();\n- return (clStartTag->getTime() - clEndTag->getTime());\n+ return (clEndTag->getTime() - clStartTag->getTime());\n}\ncl_command_q... | C++ | MIT License | libocca/occa | [OpenCL] Fixed OpenCL timing |
378,349 | 08.12.2019 10:51:29 | 18,000 | b43bc113122c13a4508b0d7065eed70a1bd7bec1 | [C][Kernel] Fixes a varargs macro bug for running C kernels | [
{
"change_type": "MODIFY",
"old_path": "include/occa.h",
"new_path": "include/occa.h",
"diff": "// Just in case someone wants to run with an older format than C99\n#ifndef OCCA_DISABLE_VARIADIC_MACROS\n-#define OCCA_C_RUN_KERNEL3(N, kernel, ...) occaKernelRunN(kernel, N, __VA_ARGS__)\n-#define OCCA_... | C++ | MIT License | libocca/occa | [C][Kernel] Fixes a varargs macro bug for running C kernels (#271) |
378,349 | 14.12.2019 18:27:40 | 21,600 | 82474e6bf70ecc276d73c9089d40430c9a6e338a | [Kernel] Fixes kernel argument mismatch message | [
{
"change_type": "MODIFY",
"old_path": "config.default.json",
"new_path": "config.default.json",
"diff": "stale_warning: 10.0,\nstale_age: 20.0,\n},\n- // OKL settings\n- okl: {\n- validate: true,\n- },\n},\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/core/kernel.cpp",
"new_p... | C++ | MIT License | libocca/occa | [Kernel] Fixes kernel argument mismatch message |
378,349 | 14.12.2019 20:15:09 | 21,600 | 4bd3442a055a803b4f5d0859b8ffd4b0fe575621 | [Preprocessor] Fixes loading @ directive inside #if/#else statements | [
{
"change_type": "MODIFY",
"old_path": "include/occa/lang/preprocessor.hpp",
"new_path": "include/occa/lang/preprocessor.hpp",
"diff": "@@ -129,6 +129,11 @@ namespace occa {\nvoid removeNewline(tokenVector &lineTokens);\nvoid processToken(token_t *token);\n+\n+ bool canProcessWhileIgnoring(token_t *... | C++ | MIT License | libocca/occa | [Preprocessor] Fixes loading @ directive inside #if/#else statements (#274) |
378,349 | 14.12.2019 20:52:29 | 21,600 | 96db672189bdb05c2c0ee859bc08c495d4db77e7 | [OCCA] Uninitialized memory passed as null | [
{
"change_type": "MODIFY",
"old_path": "include/occa/core/kernelArg.hpp",
"new_path": "include/occa/core/kernelArg.hpp",
"diff": "@@ -20,12 +20,12 @@ namespace occa {\nstatic const char isNull = (1 << 1);\n}\n- class null_t {\n+ class nullKernelArg_t {\npublic:\n- inline null_t() {}\n+ inline nullKe... | C++ | MIT License | libocca/occa | [OCCA] Uninitialized memory passed as null (#275) |
378,349 | 19.12.2019 16:38:15 | 21,600 | 786ba4642ad1a23116bacfe1623d0e942333bb43 | [Emacs] Update annotation keyword regex | [
{
"change_type": "MODIFY",
"old_path": "scripts/okl-mode.el",
"new_path": "scripts/okl-mode.el",
"diff": "@@ -44,7 +44,7 @@ Each list item should be a regexp matching a single identifier.\")\n(defconst okl-font-lock-keywords-3\n(append\n(c-lang-const c-matchers-3 c++)\n- `((eval . (list \"\\\\<\\\\(... | C++ | MIT License | libocca/occa | [Emacs] Update annotation keyword regex |
378,349 | 20.12.2019 00:30:46 | 21,600 | 6494aa926ebc350c89ab646660188effdccdd4d7 | [Core] Fix memory reference double-free with slices | [
{
"change_type": "MODIFY",
"old_path": "src/modes/cuda/memory.cpp",
"new_path": "src/modes/cuda/memory.cpp",
"diff": "@@ -13,21 +13,16 @@ namespace occa {\nisUnified(false) {}\nmemory::~memory() {\n- if (!isOrigin) {\n- cuPtr = 0;\n- mappedPtr = NULL;\n- size = 0;\n- return;\n- }\n-\n+ if (isOrigin)... | C++ | MIT License | libocca/occa | [Core] Fix memory reference double-free with slices (#276) |
378,349 | 25.12.2019 21:53:10 | 21,600 | eebc15becbaaf892c285e3d22a673d929470a00d | [Kernel] Fix headers prop | [
{
"change_type": "MODIFY",
"old_path": "config.default.json",
"new_path": "config.default.json",
"diff": "include: [],\n// List of source-code snippets to include at the top of the source code\n- header: [],\n+ headers: [],\n// OKL Options\nokl: {\n"
},
{
"change_type": "MODIFY",
"old_pa... | C++ | MIT License | libocca/occa | [Kernel] Fix headers prop (#279) |
378,345 | 18.02.2020 10:35:37 | -19,080 | e3dfd526b5556231e2ba3e225f848802114dd4da | Assert chosen mode exists | [
{
"change_type": "MODIFY",
"old_path": "src/modes.cpp",
"new_path": "src/modes.cpp",
"diff": "@@ -18,15 +18,10 @@ namespace occa {\nmode_v* getMode(const occa::properties &props) {\nstd::string mode = props[\"mode\"];\n- const bool noMode = !mode.size();\n- if (noMode || !modeIsEnabled(mode)) {\n- i... | C++ | MIT License | libocca/occa | Assert chosen mode exists (#282) |
378,358 | 28.02.2020 15:58:49 | -3,600 | 682edfaf82dc5885c5f3db08a43143875b49ea4d | add OCCA_LDFLAGS to Serial | [
{
"change_type": "MODIFY",
"old_path": "bin/occa.cpp",
"new_path": "bin/occa.cpp",
"diff": "@@ -262,6 +262,7 @@ bool runEnv(const json &args) {\n<< \" Run-Time Options:\\n\"\n<< \" - OCCA_CXX : \" << envEcho(\"OCCA_CXX\") << \"\\n\"\n<< \" - OCCA_CXXFLAGS : \" << envEcho(\"OCCA_CXXFLAGS\") << \"\\n\... | C++ | MIT License | libocca/occa | add OCCA_LDFLAGS to Serial (#284) |
378,349 | 05.03.2020 10:29:04 | 18,000 | e194bc58b46dd5e7317c6d2f14fd3b03bcaa0c2b | [OpenMP] Avoid generating same kernel hash as Serial mode | [
{
"change_type": "MODIFY",
"old_path": "src/modes/openmp/device.cpp",
"new_path": "src/modes/openmp/device.cpp",
"diff": "@@ -12,6 +12,7 @@ namespace occa {\nhash_t device::kernelHash(const occa::properties &props) const {\nreturn (\nocca::hash(props[\"vendor\"])\n+ ^ occa::hash(\"openmp\")\n^ props... | C++ | MIT License | libocca/occa | [OpenMP] Avoid generating same kernel hash as Serial mode (#289) |
378,349 | 15.03.2020 08:47:08 | 18,000 | b0dc70e27a2efaf230fda277b2c2cec6125c8799 | [Make] Removes compiler warnings | [
{
"change_type": "MODIFY",
"old_path": "include/occa/modes/cuda/polyfill.hpp",
"new_path": "include/occa/modes/cuda/polyfill.hpp",
"diff": "@@ -32,6 +32,8 @@ namespace occa {\nstatic const int CU_MEM_ATTACH_GLOBAL = 0;\nstatic const int CU_MEM_ATTACH_HOST = 0;\nstatic const int CU_STREAM_DEFAULT = 0... | C++ | MIT License | libocca/occa | [Make] Removes compiler warnings (#291) |
378,349 | 15.03.2020 09:31:37 | 18,000 | 1d070ae6e277703f3790b6c2a23475c3a01c4404 | [OKL][CUDA] Fixes const -> __constant__ replacement on typedef statements | [
{
"change_type": "MODIFY",
"old_path": "src/lang/modes/cuda.cpp",
"new_path": "src/lang/modes/cuda.cpp",
"diff": "@@ -66,7 +66,7 @@ namespace occa {\nconst int declCount = declSmnt.declarations.size();\nfor (int di = 0; di < declCount; ++di) {\nvariable_t &var = *(declSmnt.declarations[di].variable)... | C++ | MIT License | libocca/occa | [OKL][CUDA] Fixes const -> __constant__ replacement on typedef statements (#292) |
378,349 | 15.03.2020 19:27:48 | 18,000 | a4ea5ec35fd08c6667ae82ab5e19a75f69abdb18 | [GC] Fixes refs on launched kernels | [
{
"change_type": "MODIFY",
"old_path": "include/occa/tools/gc.hpp",
"new_path": "include/occa/tools/gc.hpp",
"diff": "@@ -51,6 +51,8 @@ namespace occa {\nvoid removeRef(entry_t *entry);\nbool needsFree() const;\n+\n+ int length() const;\n};\ntemplate <class entry_t>\n"
},
{
"change_type": "M... | C++ | MIT License | libocca/occa | [GC] Fixes refs on launched kernels (#293) |
378,349 | 16.03.2020 22:06:59 | 14,400 | acaa017211cc375929a03e63d80868df2a79a7d7 | [CUDA] Adds pseudo-NULL pointer | [
{
"change_type": "MODIFY",
"old_path": "include/occa/modes/cuda/device.hpp",
"new_path": "include/occa/modes/cuda/device.hpp",
"diff": "namespace occa {\nnamespace cuda {\nclass kernel;\n+ class memory;\nclass device : public occa::launchedModeDevice_t {\nfriend class kernel;\n@@ -16,6 +17,9 @@ name... | C++ | MIT License | libocca/occa | [CUDA] Adds pseudo-NULL pointer (#295) |
378,349 | 23.03.2020 09:58:05 | 14,400 | 2ae4ae80a4db29ffc27072d2df837ffe1f885673 | [C] Allows occaNull to be passed to kernels | [
{
"change_type": "MODIFY",
"old_path": "include/occa/c/types.hpp",
"new_path": "include/occa/c/types.hpp",
"diff": "@@ -8,36 +8,37 @@ namespace occa {\nnamespace typeType {\nstatic const int undefined = 0;\nstatic const int default_ = 1;\n-\n- static const int ptr = 2;\n-\n- static const int bool_ =... | C++ | MIT License | libocca/occa | [C] Allows occaNull to be passed to kernels (#302) |
378,349 | 24.03.2020 03:41:18 | 14,400 | ac5a352fc69070637ef9d231829951021f278f81 | [Preprocessor] Stringifies tokens inside concat | [
{
"change_type": "MODIFY",
"old_path": "include/occa/lang/macro.hpp",
"new_path": "include/occa/lang/macro.hpp",
"diff": "@@ -47,6 +47,8 @@ namespace occa {\nvirtual bool expand(tokenVector &newTokens,\ntoken_t *source,\nstd::vector<tokenVector> &args) = 0;\n+\n+ void expandDefinedTokens(tokenVector... | C++ | MIT License | libocca/occa | [Preprocessor] Stringifies tokens inside concat (#303) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.