上一页 1 2 3 4 5 6 ··· 72 下一页
摘要: 查看cpu个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 查看cpu信息cat /proc/cpuinfo 因为从0开始编号所以有24个核心。 Intel(R) Xeon(R) Gold 6128 CPU @ 3.40GHz单看 阅读全文
posted @ 2023-11-13 09:47 祥瑞哈哈哈 阅读(3) 评论(0) 推荐(0) 编辑
摘要: // // Copyright © 2019 Intel Corporation//// SPDX-License-Identifier: MIT// #include <chrono>#include <cmath>#include <iostream>#include <sycl/sycl.hp 阅读全文
posted @ 2023-10-31 08:10 祥瑞哈哈哈 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #include <math.h>#include <iostream>#include <string>#include <optional>#include "dpc_common.hpp"using namespace sycl;using namespace std;#define DEBU 阅读全文
posted @ 2023-10-30 11:18 祥瑞哈哈哈 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sycl-ls 阅读全文
posted @ 2023-10-26 22:17 祥瑞哈哈哈 阅读(18) 评论(0) 推荐(0) 编辑
摘要: load('shimi/bujiangweiduan')load('shimi/bujiangweiduan1') load('shimi/bujiangweishimi')load('shimi/bujiangweishimi1')load('allpositive')xishu=positive 阅读全文
posted @ 2023-10-19 16:33 祥瑞哈哈哈 阅读(5) 评论(0) 推荐(0) 编辑
摘要: w=[1,2,3;4,5,6;7,8,9]w(:,[1,2])=[] 阅读全文
posted @ 2023-10-18 10:48 祥瑞哈哈哈 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 从3中提取目标端元 brown 原正包:0.7830。 1brown_positive:0.7830 1。 5brown_positive:0.7866 337 10brown_positive:0.7823 226 20brown_positive:0.7817 217 dark 1dark_po 阅读全文
posted @ 2023-10-17 15:19 祥瑞哈哈哈 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 多核 #include <CL/sycl.hpp>#include <iostream> constexpr size_t N = 10; int main() { std::vector<float> matrixA(N * N, 2.0f); std::vector<float> matrixB 阅读全文
posted @ 2023-10-16 22:59 祥瑞哈哈哈 阅读(38) 评论(0) 推荐(0) 编辑
摘要: icpx -fsycl opencl.cpp -lOpenCL -o opencl SYCL是OpenCL的高级编程模型 Compiling and Running on a Local System: If you have installed the Intel® oneAPI Base Too 阅读全文
posted @ 2023-10-15 21:37 祥瑞哈哈哈 阅读(56) 评论(0) 推荐(0) 编辑
摘要: #include <mpi.h> #include<stdio.h>#include <unistd.h>int main(int argc, char** argv) { MPI_Init( &argc, &argv ); int rank; int size; MPI_Comm_rank(MPI 阅读全文
posted @ 2023-10-15 19:20 祥瑞哈哈哈 阅读(23) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 72 下一页