This file contains hidden or 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
#!/bin/bash | |
# Copyright (c) Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0 | |
usage='usage: wkdurl [--direct | --advanced] [email protected]' ; | |
if [[ "${#}" -lt 1 ]] || [[ "${#}" -gt 2 ]] ; then | |
echo "${usage}" >&2 ; | |
exit 1 ; | |
fi ; | |
direct='false' ; | |
if [[ "${#}" -eq 2 ]] ; then | |
case "${1}" in |
This file contains hidden or 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
// Copyright (c) Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0 | |
package pl.morgwai.sample; | |
import com.aparapi.Kernel; | |
import com.aparapi.Range; | |
/** | |
* Performs pointer-jumping on an array using a GPU with Aparapi. By default sums values from the |
This file contains hidden or 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
/* | |
* Copyright (c) Piotr Morgwai Kotarbinski | |
*/ | |
package pl.morgwai.base.grpc.utils; | |
import io.grpc.Metadata; | |
import io.grpc.ServerCall; | |
import io.grpc.ServerCallHandler; | |
import io.grpc.stub.ServerCallStreamObserver; | |
import io.grpc.stub.ServerCalls; |