Posts

Showing posts from January 18, 2019

vs2015 cuda9.0 linked SHA1_Init with CUDA implement instead of openssl cpu libs

Image
-1 I am a beginner to cuda, c++ and I am trying to move openssl sha1 cpu code to cuda c,but I ran into a weired problem. here is the minimum code that can reproduce the problem. There are three files in this vs2015 cuda9.0 project. They are main.cpp ,sha1.cu and sha1.h //main.cpp #include "cuda_runtime.h" #include "device_launch_parameters.h" #include "opensslsha.h" int main() { SHA_CTX ctx; SHA1_Init(&ctx); return 0; } //sha1.h #ifndef SHA1_H #define SHA1_H #include <stdint.h> #include <cuda_runtime.h> namespace cudatest { #ifdef __cplusplus extern "C" { #endif typedef struct { uint32_t state[5]; uint32_t count[2]; unsigned char buffer[64]; } SHA1_CTX; #defi...

Tekken 3

Image
Tekken 3 Capa da versão-norte-americana do jogo. Produtora(s) Namco [ 1 ] Namco Editora(s) NamcoNamco Ltd. Distribuidora(s) Namco Ltd. Plataforma(s) Série Tekken Data(s) de lançamento Arcade 1996 PlayStation Março de 1997 Outubro de 1997 Novembro de 1997 Gênero(s) Luta 3D Tekken 2 Tekken 4 ...