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
{ | |
"father_compound": 55, | |
"name": ["aspirin", "acetylsalicylic acid"], | |
"smiles": "CC(=O)Oc1ccccc1C(=O)O", | |
"inchi_key": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N", | |
"sdf_representation": "http://server.com/compound/2/sdf", | |
"comment": [ | |
"this is a comment", | |
"analogue of rdfs:comment" | |
], |
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
{ | |
"name":"molecular weight", | |
"units":"Da", | |
"description":"blah blah", | |
"hasSource":"http://jaqpot.org:8080/model/45", | |
"sameAs":"http://someontology.org/v/1.1#MolecularWeight", | |
"creator":"chung@jaqpot.org" | |
} |
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
{ | |
"id": 100, | |
"status":"COMPLETED", | |
"http_status":200, | |
"result": "http://opentox.ntua.gr:8080/model/234", | |
"duration":452, | |
"progress":[ | |
"data loaded", | |
"new resources have been created", | |
"now training the model", |
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
{ | |
"father_compound": 55, | |
"name": "aspirin", | |
"smiles": "CC(=O)Oc1ccccc1C(=O)O", | |
"inchi_key": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N", | |
"sdf_representation": "http://server.com/compound/2/sdf", | |
"comment": [ | |
"this is a comment", | |
"analogue of rdfs:comment" | |
], |
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
/* | |
* StreamArrayReader.cpp | |
* | |
* Created on: Nov 1, 2014 | |
* Author: Pantelis Sopasakis | |
*/ | |
#ifndef STREAMARRAYREADER_IMPL_ | |
#define STREAMARRAYREADER_IMPL_ |
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
#!/bin/bash | |
# GET a dataset and store it in RDF in a file (locally) | |
curl http://apps.ideaconsult.net:8080/ambit2/dataset/R545 -H Accept:application/rdf+xml > R545.rdf 2> /dev/null | |
# POST the SAME dataset to the dataset server [Creates a task]: | |
task_uri=`curl -X POST --data-binary @R545.rdf http://apps.ideaconsult.net:8080/ambit2/dataset -H Content-type:application/rdf+xml -H Accept:text/uri-list 2> /dev/null`; | |
status=$(curl --write-out %{http_code} --silent --output /dev/null $task_uri); | |
echo "[Task Created] status = $status" |
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
% Where to store the header file: | |
header_filename = '/Users/imt/cuda-workspace/dGPAD_CUDA/src/sys_data.h'; | |
int_type = 'short'; | |
%create header | |
tic; | |
size_of_FN = zeros(length(sys.Ft),1); | |
size_of_FN_cum = zeros(size(size_of_FN)); | |
for kk=1:length(sys.Ft), |
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
#ifndef MAT_VECTOR_ | |
#define MAT_VECTOR_ | |
#include<cuda_runtime.h> | |
#include"cublas_v2.h" | |
#include "helper_cuda.h" | |
/** | |
* Definition of the function that perform multiple matrix-vector operations | |
* @param matrices: Vector of pointers that point to multiple matrix vector operations, |
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 <cuda_runtime.h> | |
#include "helper_cuda.h" | |
#define _CUDA(x) checkCudaErrors(x) | |
__global__ void ker(float ** d_X, float * d_A, float * d_B, int n){ | |
printf("Addresses...\n"); |
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
#define BLOCK_SIZE 128 | |
#define RESTRICT __restrict__ | |
template<typename T> | |
__global__ void matvec_kernel(const T * RESTRICT dA, const T * RESTRICT dx, | |
T * RESTRICT dy, const uint_t nRows, const uint_t nx) | |
{ | |
const unsigned int tid = threadIdx.x + blockIdx.x * blockDim.x; | |
__shared__ T x_shared[BLOCK_SIZE]; |