diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..10b731c --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..418200d --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/opencl-test.iml b/.idea/opencl-test.iml new file mode 100644 index 0000000..cf84ae4 --- /dev/null +++ b/.idea/opencl-test.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 9ce92d5..76ade9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,7 +55,7 @@ fn main() -> anyhow::Result<()> { ) { Ok(q) => q, Err(err) => { - println!("创建命令队列失败: {}, 属性: {}", err, property); + println!("创建命令队列失败: {}, 属性: {}", err, 0); panic!(); } };