Patent ID: 11914860
Assignee: MACRONIX INTERNATIONAL CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 20:
21. A method comprising:
receiving, at a processor from an input device, input data for processing;
conditioned on determining that the input data corresponds to an artificial intelligence (AI) application:
generating, by the processor, an AI command for performing one or more read or write operations for a memory device that is configured to (i) store data for AI applications processed by the processor in a first storage partition of the memory device and (ii) store data for non-AI applications in a second storage partition of the memory device that is different from the first storage partition, the AI command including information specifying (i) one or more neurons of an artificial neural network corresponding to the AI application, the one or more neurons associated with the input data, and (ii) an operational code indicating operations to be performed on the one or more neurons, wherein the input data includes weights corresponding to one or more of input connections or output connections of each of the one or more neurons,
sending, by the processor, the AI command and the input data to a storage controller managing the memory device, wherein the one or more read or write operations for the memory device is performed by the storage controller using the operational code and the information included in the AI command, the one or more read or write operations comprising:
obtaining from the information included in the AI command, a first set of weights one or more of input connections or output connections of a first neuron of the one or more neurons and a second set of weights of one or more of input connections or output connections of a second neuron of the one or more neurons,
performing a memory access operation involving the first set of weights associated with the first neuron on the memory device,
upon determining that the first neuron is accessed more frequently than the second neuron, and that the second neuron is accessed at a same rate as other neurons of the one or more neurons, storing the first set of weights associated with the first neuron in a first area of the memory device that is used for logging, and storing the second set of weights in a second area of the memory device that is used for long-term storage different from logging, and
receiving, at the processor from the storage controller, a result of the one or more read or write operations performed on the memory device; and

conditioned on determining that the input data corresponds to a non-AI application:
accessing, by the processor, one or more memory locations corresponding to the input data in the memory device, and
performing, by the processor, one or more read or write operations on the accessed one or more memory locations.