This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ...previous code blocks | |
mgr = kp.Manager() | |
# ...latter code blocks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Single header include for Kompute | |
#include "kompute/Kompute.hpp" | |
int main() { | |
// Vulkan resources get created unless passed | |
kp::Manager mgr(0); // Selects GPU device at index 0 | |
//... continued in next section | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from azure.storage.blob import BlockBlobService, PublicAccess | |
CONTAINER_NAME = os.environ["AZURE_CONTAINER_NAME"] | |
AZURE_STORAGE_ACCOUNT = os.environ["AZURE_STORAGE_ACCOUNT"] | |
AZURE_STORAGE_KEY = os.environ["AZURE_STORAGE_KEY"] | |
bbs = BlockBlobService( | |
account_name=AZURE_STORAGE_ACCOUNT, | |
account_key=AZURE_STORAGE_KEY) |