bit_inv.c

  name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-5572165936844014&dt=1194442938015&lmt=1194190197&format=336x280_as&output=html&correlator=1194442937843&url=file%3A%2F%2F%2FC%3A%2FDocuments%2520and%2520Settings%2Flhh1%2F%E6%A1%8C%E9%9D%A2%2FCLanguage.htm&color_bg=FFFFFF&color_text=000000&color_link=000000&color_url=FFFFFF&color_border=FFFFFF&ad_type=text&ga_vid=583001034.1194442938&ga_sid=1194442938&ga_hid=1942779085&flash=9&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=32&u_tz=480&u_java=true" frameborder="0" width="336" scrolling="no" height="280" allowtransparency="allowtransparency"> #include <stdio.h>

void main(void)
 {
   int value = 0xFF;

   printf("The inverse of %X is %X/n", value, ~value);
 }

量化之前输出: Some weights of PanguForCausalLM were not initialized from the model checkpoint at /models/z50051264/checkpoints and are newly initialized: ['model.layers.0.self_attn.rotary_emb.inv_freq', 'model.layers.1.self_attn.rotary_emb.inv_freq', 'model.layers.10.self_attn.rotary_emb.inv_freq', 'model.layers.11.self_attn.rotary_emb.inv_freq', 'model.layers.12.self_attn.rotary_emb.inv_freq', 'model.layers.13.self_attn.rotary_emb.inv_freq', 'model.layers.14.self_attn.rotary_emb.inv_freq', 'model.layers.15.self_attn.rotary_emb.inv_freq', 'model.layers.16.self_attn.rotary_emb.inv_freq', 'model.layers.17.self_attn.rotary_emb.inv_freq', 'model.layers.18.self_attn.rotary_emb.inv_freq', 'model.layers.19.self_attn.rotary_emb.inv_freq', 'model.layers.2.self_attn.rotary_emb.inv_freq', 'model.layers.20.self_attn.rotary_emb.inv_freq', 'model.layers.21.self_attn.rotary_emb.inv_freq', 'model.layers.22.self_attn.rotary_emb.inv_freq', 'model.layers.23.self_attn.rotary_emb.inv_freq', 'model.layers.24.self_attn.rotary_emb.inv_freq', 'model.layers.25.self_attn.rotary_emb.inv_freq', 'model.layers.26.self_attn.rotary_emb.inv_freq', 'model.layers.27.self_attn.rotary_emb.inv_freq', 'model.layers.3.self_attn.rotary_emb.inv_freq', 'model.layers.4.self_attn.rotary_emb.inv_freq', 'model.layers.5.self_attn.rotary_emb.inv_freq', 'model.layers.6.self_attn.rotary_emb.inv_freq', 'model.layers.7.self_attn.rotary_emb.inv_freq', 'model.layers.8.self_attn.rotary_emb.inv_freq', 'model.layers.9.self_attn.rotary_emb.inv_freq'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. 你是谁? 我是一个AI助手,能够为您提供各种信息和帮助。请问您有什么问题我可以帮助您吗? 执行nf4量化之后输出: [root@190f3c453709 inference]# python nf4_save.py /usr/local/python3.10.17/lib/python3.10/site-packages/torch_npu/utils/storage.py:38: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() if self.device.type != 'cpu': Some weights of PanguForCausalLM were not initialized from the model checkpoint at /models/z50051264/checkpoints and are newly initialized: ['model.layers.0.self_attn.rotary_emb.inv_freq', 'model.layers.1.self_attn.rotary_emb.inv_freq', 'model.layers.10.self_attn.rotary_emb.inv_freq', 'model.layers.11.self_attn.rotary_emb.inv_freq', 'model.layers.12.self_attn.rotary_emb.inv_freq', 'model.layers.13.self_attn.rotary_emb.inv_freq', 'model.layers.14.self_attn.rotary_emb.inv_freq', 'model.layers.15.self_attn.rotary_emb.inv_freq', 'model.layers.16.self_attn.rotary_emb.inv_freq', 'model.layers.17.self_attn.rotary_emb.inv_freq', 'model.layers.18.self_attn.rotary_emb.inv_freq', 'model.layers.19.self_attn.rotary_emb.inv_freq', 'model.layers.2.self_attn.rotary_emb.inv_freq', 'model.layers.20.self_attn.rotary_emb.inv_freq', 'model.layers.21.self_attn.rotary_emb.inv_freq', 'model.layers.22.self_attn.rotary_emb.inv_freq', 'model.layers.23.self_attn.rotary_emb.inv_freq', 'model.layers.24.self_attn.rotary_emb.inv_freq', 'model.layers.25.self_attn.rotary_emb.inv_freq', 'model.layers.26.self_attn.rotary_emb.inv_freq', 'model.layers.27.self_attn.rotary_emb.inv_freq', 'model.layers.3.self_attn.rotary_emb.inv_freq', 'model.layers.4.self_attn.rotary_emb.inv_freq', 'model.layers.5.self_attn.rotary_emb.inv_freq', 'model.layers.6.self_attn.rotary_emb.inv_freq', 'model.layers.7.self_attn.rotary_emb.inv_freq', 'model.layers.8.self_attn.rotary_emb.inv_freq', 'model.layers.9.self_attn.rotary_emb.inv_freq'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. [+] inference time: 17.1079s [' <s>你是谁?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来?你从而来?你从何而来?你从何而来?你从何而来?你从何而来?你从何而来而来?你从何而来?你从何'] 输出变得有点问题,请帮我排查问题
07-23
//XW_crc_p.v `pragma protect begin module DW_crc_p( data_in, crc_in, crc_ok, crc_out ); parameter integer data_width = 16; parameter integer poly_size = 16; parameter integer crc_cfg = 7; parameter integer bit_order = 3; parameter integer poly_coef0 = 4129; parameter integer poly_coef1 = 0; parameter integer poly_coef2 = 0; parameter integer poly_coef3 = 0; input [data_width-1:0] data_in; input [poly_size-1:0] crc_in; output crc_ok; output [poly_size-1:0] crc_out; `define DW_max_data_crc_1 (data_width>poly_size?data_width:poly_size) wire [poly_size-1:0] crc_in_inv; wire [poly_size-1:0] crc_reg; wire [poly_size-1:0] crc_out_inv; wire [poly_size-1:0] crc_chk_crc_in; reg [poly_size-1:0] crc_inv_alt; reg [poly_size-1:0] crc_polynomial; `include "bit_order_crc_function.inc" `include "bit_order_data_function.inc" `include "calculate_crc_w_in_function.inc" `include "calculate_crc_function.inc" `include "calculate_crc_crc_function.inc" generate //begin genvar bit_idx; reg [63:0] crc_polynomial64; reg [15:0] coef0; reg [15:0] coef1; reg [15:0] coef2; reg [15:0] coef3; assign coef0= poly_coef0; assign coef0= poly_coef1; assign coef0= poly_coef2; assign coef0= poly_coef3; assign crc_polynomial64 = {coef3, coef2, coef1, coef0}; assign crc_pollynomial = crc_polynomial64[poly_size-1:0]; case(crc_cfg/2) 0: assign crc_inv_alt = {poly_size{1'b0}}; 1: for(bit_idx = 0; bit_idx<poly_sizel bit_idx=bit_idx+1) assign crc_inv_alt[bit_idx] = (bit_idx % 2)? 1'b0:1'b1; 2: for(bit_idx=0; bit_idx<poly_size; bit_idx=bit_idx+1) assign crc_inv_alt[bit_idx] = (bit_idx % 2)?1'b1:1'b0; 3: assign crc_inv_alt = { poly_size{1'b1}}; endcase endgenerate assign crc_in_inv = bit_order_crc(crc_in) ^ crc_inv_alt; assign crc_reg = calculate_crc(bit_order_data(data_in)); assign crc_out_inv = crc_reg; assign crc_out = bit_order_crc(crc_out_inv)^ crc_inv_alt; assign crc_chk_crc_in = calculate_crc_crc(crc_reg, crc_in_inv); assign crc_ok = (crc_chk_crc_in ==0); `undef DW_max_data_crc_1 endmodule `pragma protect end can you write a testbench for this piece of CRC verilog code so that this verilog file and the testbench can be used togerther by vcs to verify the correctness of this verilog file?
06-14
``` [root@190f3c453709 inference]# python nf4.py /usr/local/python3.10.17/lib/python3.10/site-packages/torch_npu/utils/storage.py:38: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() if self.device.type != 'cpu': Some weights of PanguForCausalLM were not initialized from the model checkpoint at /models/z50051264/checkpoints and are newly initialized: ['model.layers.0.self_attn.rotary_emb.inv_freq', 'model.layers.1.self_attn.rotary_emb.inv_freq', 'model.layers.10.self_attn.rotary_emb.inv_freq', 'model.layers.11.self_attn.rotary_emb.inv_freq', 'model.layers.12.self_attn.rotary_emb.inv_freq', 'model.layers.13.self_attn.rotary_emb.inv_freq', 'model.layers.14.self_attn.rotary_emb.inv_freq', 'model.layers.15.self_attn.rotary_emb.inv_freq', 'model.layers.16.self_attn.rotary_emb.inv_freq', 'model.layers.17.self_attn.rotary_emb.inv_freq', 'model.layers.18.self_attn.rotary_emb.inv_freq', 'model.layers.19.self_attn.rotary_emb.inv_freq', 'model.layers.2.self_attn.rotary_emb.inv_freq', 'model.layers.20.self_attn.rotary_emb.inv_freq', 'model.layers.21.self_attn.rotary_emb.inv_freq', 'model.layers.22.self_attn.rotary_emb.inv_freq', 'model.layers.23.self_attn.rotary_emb.inv_freq', 'model.layers.24.self_attn.rotary_emb.inv_freq', 'model.layers.25.self_attn.rotary_emb.inv_freq', 'model.layers.26.self_attn.rotary_emb.inv_freq', 'model.layers.27.self_attn.rotary_emb.inv_freq', 'model.layers.3.self_attn.rotary_emb.inv_freq', 'model.layers.4.self_attn.rotary_emb.inv_freq', 'model.layers.5.self_attn.rotary_emb.inv_freq', 'model.layers.6.self_attn.rotary_emb.inv_freq', 'model.layers.7.self_attn.rotary_emb.inv_freq', 'model.layers.8.self_attn.rotary_emb.inv_freq', 'model.layers.9.self_attn.rotary_emb.inv_freq'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. *****************模型加载成功! ****************[+] load time: 27.4145s 模型词汇量: 153376 Tokenizer词汇量: 153376 unk_token: <unk> pad_token: None <s>I love Hugging Face! *****************分词器加载成功,开始推理! [+] inference time: 5.57427s [' <s> 你是谁?你要我提供什么类型的内容?\n\n**回答者:人工智能助手\n\n问题有什么可以为我服务的呢?\n?\n在\n?\n\n?\n\n## \n是吗?你是一种智能机器人么 AI, [unused10]'] [root@190f3c453709 inference]# python -m pdb nf4.py > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(1)<module>() -> import time (Pdb) n > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(2)<module>() -> import torch, torch_npu (Pdb) n > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(3)<module>() -> from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(9)<module>() -> MODEL_PATH = "/models/z50051264/checkpoints" (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(11)<module>() -> bnb_config = BitsAndBytesConfig( (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(12)<module>() -> load_in_4bit=True, (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(13)<module>() -> bnb_4bit_compute_dtype=torch.bfloat16, # Support torch.float16, torch.float32, torch.bfloat16 (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(14)<module>() -> bnb_4bit_quant_type="nf4", # # Only support `nf4` (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(15)<module>() -> bnb_4bit_use_double_quant=False (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(11)<module>() -> bnb_config = BitsAndBytesConfig( (Pdb) > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(18)<module>() -> torch.npu.synchronize() (Pdb) RuntimeError: SetPrecisionMode:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:156 NPU function error: at_npu::native::AclSetCompileopt(aclCompileOpt::ACL_PRECISION_MODE, precision_mode), error code is 500001 [ERROR] 2025-07-30-07:29:05 (PID:1957, Device:0, RankID:-1) ERR00100 PTA call acl api failed [Error]: The internal ACL of the system is incorrect. Rectify the fault based on the error information in the ascend log. E90000: [PID: 1957] 2025-07-30-07:29:05.549.359 Compile operator failed, cause: module '__main__' has no attribute '__spec__' File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/interface.py", line 33, in cann_kb_init return RouteServer.initialize(**locals()) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 54, in wrapper return func(cls, *args, **kwargs) File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/route.py", line 169, in initialize main_mod, main_path = config_main_info() File "/usr/local/Ascend/ascend-toolkit/latest/python/site-packages/tbe/common/repository_manager/utils/common.py", line 37, in config_main_info main_module_name = getattr(main_module.__spec__, "name", None) TraceBack (most recent call last): AOE Failed to call InitCannKB[FUNC:Initialize][FILE:python_adapter_manager.cc][LINE:47] Failed to initialize TeConfigInfo. [GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeTeFusion][FILE:tbe_op_store_adapter.cc][LINE:1889] [GraphOpt][InitializeInner][InitTeFusion]: Failed to initialize TeFusion.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1856] [SubGraphOpt][PreCompileOp][InitAdapter] InitializeAdapter adapter [tbe_op_adapter] failed! Ret [4294967295][FUNC:InitializeAdapter][FILE:op_store_adapter_manager.cc][LINE:79] [SubGraphOpt][PreCompileOp][Init] Initialize op store adapter failed, OpsStoreName[tbe-custom].[FUNC:Initialize][FILE:op_store_adapter_manager.cc][LINE:120] [FusionMngr][Init] Op store adapter manager init failed.[FUNC:Initialize][FILE:fusion_manager.cc][LINE:115] PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:83] OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:259] GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:184] GEInitialize failed.[FUNC:GEInitialize][FILE:ge_api.cc][LINE:371] [Initialize][Ge]GEInitialize failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161] [Init][Compiler]Init compiler failed[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145] [Set][Options]OpCompileProcessor init failed![FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145] > /models/z50051264/bitsandbytes-pangu/examples/inference/nf4.py(18)<module>() -> torch.npu.synchronize() (Pdb) ``` 为什么我直接运行没问题,但是使用pdb调试就会报错???
最新发布
07-31
[{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'i2s_chan_config_t' has no member named 'auto_clear_after_cb' 44 | rx_config.auto_clear_after_cb = true;", "startLineNumber": 44, "startColumn": 14, "endLineNumber": 44, "endColumn": 14 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "136", "severity": 8, "message": "结构 \"<unnamed>\" 没有字段 \"auto_clear_after_cb\"", "source": "C/C++", "startLineNumber": 44, "startColumn": 15, "endLineNumber": 44, "endColumn": 34, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'I2S_STD_MSB_SLOT_DEFAULT_CONFIG' undeclared (first use in this function)", "startLineNumber": 52, "startColumn": 21, "endLineNumber": 52, "endColumn": 21 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "20", "severity": 8, "message": "未定义标识符 \"I2S_DATA_BIT_WIDTH_16\"", "source": "C/C++", "startLineNumber": 52, "startColumn": 21, "endLineNumber": 52, "endColumn": 52, "origin": "extHost1" },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "55", "severity": 8, "message": "宏 \"I2S_STD_MSB_SLOT_DEFAULT_CONFIG\" 调用中的参数太多", "source": "C/C++", "startLineNumber": 52, "startColumn": 96, "endLineNumber": 52, "endColumn": 97, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "macro \"I2S_STD_MSB_SLOT_DEFAULT_CONFIG\" passed 3 arguments, but takes just 2", "startLineNumber": 52, "startColumn": 97, "endLineNumber": 52, "endColumn": 97 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "136", "severity": 8, "message": "结构 \"<unnamed>\" 没有字段 \"mck\"", "source": "C/C++", "startLineNumber": 54, "startColumn": 13, "endLineNumber": 54, "endColumn": 14, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'i2s_std_gpio_config_t' has no member named 'mck'; did you mean 'mclk'?", "startLineNumber": 54, "startColumn": 14, "endLineNumber": 54, "endColumn": 14 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "136", "severity": 8, "message": "结构 \"<unnamed>\" 没有字段 \"mck_inv\"", "source": "C/C++", "startLineNumber": 60, "startColumn": 17, "endLineNumber": 60, "endColumn": 18, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'struct <anonymous>' has no member named 'mck_inv'; did you mean 'mclk_inv'?", "startLineNumber": 60, "startColumn": 18, "endLineNumber": 60, "endColumn": 18 },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'i2s_chan_config_t' has no member named 'auto_clear_after_cb' 73 | tx_config.auto_clear_after_cb = true;", "startLineNumber": 73, "startColumn": 14, "endLineNumber": 73, "endColumn": 14 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "136", "severity": 8, "message": "结构 \"<unnamed>\" 没有字段 \"auto_clear_after_cb\"", "source": "C/C++", "startLineNumber": 73, "startColumn": 15, "endLineNumber": 73, "endColumn": 34, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'I2S_STD_MSB_SLOT_DEFAULT_CONFIG' undeclared (first use in this function)", "startLineNumber": 81, "startColumn": 21, "endLineNumber": 81, "endColumn": 21 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "20", "severity": 8, "message": "未定义标识符 \"I2S_DATA_BIT_WIDTH_16\"", "source": "C/C++", "startLineNumber": 81, "startColumn": 21, "endLineNumber": 81, "endColumn": 52, "origin": "extHost1" },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "55", "severity": 8, "message": "宏 \"I2S_STD_MSB_SLOT_DEFAULT_CONFIG\" 调用中的参数太多", "source": "C/C++", "startLineNumber": 81, "startColumn": 96, "endLineNumber": 81, "endColumn": 97, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "macro \"I2S_STD_MSB_SLOT_DEFAULT_CONFIG\" passed 3 arguments, but takes just 2", "startLineNumber": 81, "startColumn": 97, "endLineNumber": 81, "endColumn": 97 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "136", "severity": 8, "message": "结构 \"<unnamed>\" 没有字段 \"mck\"", "source": "C/C++", "startLineNumber": 83, "startColumn": 13, "endLineNumber": 83, "endColumn": 14, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'i2s_std_gpio_config_t' has no member named 'mck'; did you mean 'mclk'?", "startLineNumber": 83, "startColumn": 14, "endLineNumber": 83, "endColumn": 14 },{ "resource": "/E:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "C/C++: IntelliSense", "code": "136", "severity": 8, "message": "结构 \"<unnamed>\" 没有字段 \"mck_inv\"", "source": "C/C++", "startLineNumber": 89, "startColumn": 17, "endLineNumber": 89, "endColumn": 18, "origin": "extHost1" },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "'struct <anonymous>' has no member named 'mck_inv'; did you mean 'mclk_inv'?", "startLineNumber": 89, "startColumn": 18, "endLineNumber": 89, "endColumn": 18 },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "implicit declaration of function 'i2s_channel_receive'; did", "startLineNumber": 106, "startColumn": 13, "endLineNumber": 106, "endColumn": 13 },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 8, "message": "implicit declaration of function 'i2s_channel_send'; did you mean 'i2s_channel_read'? [-Werror=implicit-function-declaration]", "startLineNumber": 108, "startColumn": 13, "endLineNumber": 108, "endColumn": 13 },{ "resource": "/e:/FILEPACKGE/projectpackge/ESP-IDF/i2s_std/main/i2s_std_example_main.c", "owner": "cpp", "severity": 4, "message": "'tx_buffer' defined but not used [-Wunused-variable]", "startLineNumber": 39, "startColumn": 16, "endLineNumber": 39, "endColumn": 16 }]
07-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值