Home
last modified time | relevance | path

Searched refs:host_c (Results 1 – 25 of 121) sorted by relevance

12345

/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/llvm12/llvm-project-12.0.1.src/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/devel/llvm13/llvm-project-13.0.1.src/polly/lib/External/ppcg/
H A Dcuda_common.c29 info->host_c = fopen(name, "w"); in cuda_open_files()
36 fprintf(info->host_c, "#include <assert.h>\n"); in cuda_open_files()
37 fprintf(info->host_c, "#include <stdio.h>\n"); in cuda_open_files()
38 fprintf(info->host_c, "#include \"%s\"\n", name); in cuda_open_files()
49 fclose(info->host_c); in cuda_close_files()
/dports/math/clblast/CLBlast-1.1.0/samples/
H A Dsgemm_netlib.c44 float* host_c = (float*)malloc(sizeof(float)*m*n); in main() local
47 for (int i=0; i<m*n; ++i) { host_c[i] = 0.0f; } in main()
57 host_c, c_ld); in main()
65 free(host_c); in main()
H A Dsgemm.cpp73 auto host_c = std::vector<float>(m*n); in main() local
76 for (auto &item: host_c) { item = 0.0f; } in main()
81 auto device_c = cl::Buffer(context, CL_MEM_READ_WRITE, host_c.size()*sizeof(float)); in main()
84 queue.enqueueWriteBuffer(device_c, CL_TRUE, 0, host_c.size()*sizeof(float), host_c.data()); in main()
H A Dsgemm_batched.cpp87 auto host_c = std::vector<float>(c_size); in main() local
90 for (auto &item: host_c) { item = 0.0f; } in main()
95 auto device_c = cl::Buffer(context, CL_MEM_READ_WRITE, host_c.size()*sizeof(float)); in main()
98 queue.enqueueWriteBuffer(device_c, CL_TRUE, 0, host_c.size()*sizeof(float), host_c.data()); in main()
/dports/science/lammps/lammps-stable_29Sep2021/lib/gpu/
H A Dlal_buck_ext.cpp32 double **host_a, double **host_c, in buck_gpu_init() argument
59 host_a, host_c, offset, special_lj, inum, nall, max_nbors, in buck_gpu_init()
77 host_a, host_c, offset, special_lj, inum, nall, max_nbors, in buck_gpu_init()
97 double **host_a, double **host_c, double **offset) { in buck_gpu_reinit() argument
104 host_a, host_c, offset); in buck_gpu_reinit()
111 host_a, host_c, offset); in buck_gpu_reinit()
H A Dlal_born_ext.cpp32 double **host_born3, double **host_a, double **host_c, in born_gpu_init() argument
60 host_born3, host_a, host_c, host_d, sigma, in born_gpu_init()
79 host_born3, host_a, host_c, host_d, sigma, in born_gpu_init()
100 double **host_born3, double **host_a, double **host_c, in born_gpu_reinit() argument
108 host_born3, host_a, host_c, host_d, offset); in born_gpu_reinit()
115 host_born3, host_a, host_c, host_d, offset); in born_gpu_reinit()
/dports/devel/boost-docs/boost_1_72_0/libs/fiber/examples/cuda/
H A Dmultiple_streams.cu43 int * host_a, * host_b, * host_c; in main() local
46 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
68 … cudaMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), cudaMemcpyDeviceToHost, stream0); in main()
69 … cudaMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), cudaMemcpyDeviceToHost, stream1); in main()
79 cudaFreeHost( host_c); in main()
H A Dsingle_stream.cu41 int * host_a, * host_b, * host_c; in main() local
44 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
59 … cudaMemcpyAsync( host_c + i, dev_c, size * sizeof( int), cudaMemcpyDeviceToHost, stream); in main()
67 cudaFreeHost( host_c); in main()
/dports/devel/boost-python-libs/boost_1_72_0/libs/fiber/examples/cuda/
H A Dmultiple_streams.cu43 int * host_a, * host_b, * host_c; in main() local
46 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
68 … cudaMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), cudaMemcpyDeviceToHost, stream0); in main()
69 … cudaMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), cudaMemcpyDeviceToHost, stream1); in main()
79 cudaFreeHost( host_c); in main()
H A Dsingle_stream.cu41 int * host_a, * host_b, * host_c; in main() local
44 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
59 … cudaMemcpyAsync( host_c + i, dev_c, size * sizeof( int), cudaMemcpyDeviceToHost, stream); in main()
67 cudaFreeHost( host_c); in main()
/dports/devel/boost-libs/boost_1_72_0/libs/fiber/examples/cuda/
H A Dmultiple_streams.cu43 int * host_a, * host_b, * host_c; in main() local
46 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
68 … cudaMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), cudaMemcpyDeviceToHost, stream0); in main()
69 … cudaMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), cudaMemcpyDeviceToHost, stream1); in main()
79 cudaFreeHost( host_c); in main()
H A Dsingle_stream.cu41 int * host_a, * host_b, * host_c; in main() local
44 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
59 … cudaMemcpyAsync( host_c + i, dev_c, size * sizeof( int), cudaMemcpyDeviceToHost, stream); in main()
67 cudaFreeHost( host_c); in main()
/dports/devel/hyperscan/boost_1_75_0/libs/fiber/examples/cuda/
H A Dmultiple_streams.cu43 int * host_a, * host_b, * host_c; in main() local
46 cudaHostAlloc( & host_c, full_size * sizeof( int), cudaHostAllocDefault); in main()
68 … cudaMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), cudaMemcpyDeviceToHost, stream0); in main()
69 … cudaMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), cudaMemcpyDeviceToHost, stream1); in main()
79 cudaFreeHost( host_c); in main()
/dports/devel/boost-docs/boost_1_72_0/libs/fiber/examples/hip/
H A Dmultiple_streams.cpp42 int * host_a, * host_b, * host_c; in main() local
45 hipHostMalloc( & host_c, full_size * sizeof( int), hipHostMallocDefault); in main()
67 … hipMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), hipMemcpyDeviceToHost, stream0); in main()
68 … hipMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), hipMemcpyDeviceToHost, stream1); in main()
78 hipHostFree( host_c); in main()
/dports/devel/boost-libs/boost_1_72_0/libs/fiber/examples/hip/
H A Dmultiple_streams.cpp42 int * host_a, * host_b, * host_c; in main() local
45 hipHostMalloc( & host_c, full_size * sizeof( int), hipHostMallocDefault); in main()
67 … hipMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), hipMemcpyDeviceToHost, stream0); in main()
68 … hipMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), hipMemcpyDeviceToHost, stream1); in main()
78 hipHostFree( host_c); in main()
/dports/devel/boost-python-libs/boost_1_72_0/libs/fiber/examples/hip/
H A Dmultiple_streams.cpp42 int * host_a, * host_b, * host_c; in main() local
45 hipHostMalloc( & host_c, full_size * sizeof( int), hipHostMallocDefault); in main()
67 … hipMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), hipMemcpyDeviceToHost, stream0); in main()
68 … hipMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), hipMemcpyDeviceToHost, stream1); in main()
78 hipHostFree( host_c); in main()
/dports/devel/hyperscan/boost_1_75_0/libs/fiber/examples/hip/
H A Dmultiple_streams.cpp42 int * host_a, * host_b, * host_c; in main() local
45 hipHostMalloc( & host_c, full_size * sizeof( int), hipHostMallocDefault); in main()
67 … hipMemcpyAsync( host_c + i, dev_c0, size * sizeof( int), hipMemcpyDeviceToHost, stream0); in main()
68 … hipMemcpyAsync( host_c + i + size, dev_c1, size * sizeof( int), hipMemcpyDeviceToHost, stream1); in main()
78 hipHostFree( host_c); in main()

12345